#[repr(C)]pub struct ArrowSchema {
pub format: *const c_char,
pub name: *const c_char,
pub metadata: *const c_char,
pub flags: i64,
pub n_children: i64,
pub children: *mut *mut ArrowSchema,
pub dictionary: *mut ArrowSchema,
pub release: Option<unsafe extern "C" fn(schema: *mut ArrowSchema)>,
pub private_data: *mut c_void,
}Expand description
Arrow C Data Interface schema object.
Fields§
§format: *const c_charFormat string (f, g, i, +s, …).
name: *const c_charField name.
metadata: *const c_charOptional metadata key/value blob.
flags: i64Dictionary / nullable flags.
n_children: i64Child count for nested types.
children: *mut *mut ArrowSchemaChild schemas.
dictionary: *mut ArrowSchemaDictionary schema.
release: Option<unsafe extern "C" fn(schema: *mut ArrowSchema)>Release callback.
private_data: *mut c_voidImplementation private data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArrowSchema
impl RefUnwindSafe for ArrowSchema
impl !Send for ArrowSchema
impl !Sync for ArrowSchema
impl Unpin for ArrowSchema
impl UnsafeUnpin for ArrowSchema
impl UnwindSafe for ArrowSchema
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more