MCPcopy Create free account
hub / github.com/apache/arrow-rs / format

Method format

arrow-schema/src/ffi.rs:273–279  ·  view source on GitHub ↗

Returns the format of this schema.

(&self)

Source from the content-addressed store, hash-verified

271
272 /// Returns the format of this schema.
273 pub fn format(&self) -> &str {
274 assert!(!self.format.is_null());
275 // safe because the lifetime of `self.format` equals `self`
276 unsafe { CStr::from_ptr(self.format) }
277 .to_str()
278 .expect("The external API has a non-utf8 as format")
279 }
280
281 /// Returns the name of this schema.
282 pub fn name(&self) -> Option<&str> {

Callers 10

try_fromMethod · 0.80
format_date_stringFunction · 0.80
format_time_ntz_strFunction · 0.80
build_utf8_date_arrayFunction · 0.80
relabel_issueFunction · 0.80
generate_sourceFunction · 0.80
nowFunction · 0.80
decodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected