Struct arrow_format::ipc::Field
source · [−]pub struct Field {
pub name: Option<String>,
pub nullable: bool,
pub type_: Option<Type>,
pub dictionary: Option<Box<DictionaryEncoding>>,
pub children: Option<Vec<Field>>,
pub custom_metadata: Option<Vec<KeyValue>>,
}
Fields
name: Option<String>
nullable: bool
type_: Option<Type>
dictionary: Option<Box<DictionaryEncoding>>
children: Option<Vec<Field>>
custom_metadata: Option<Vec<KeyValue>>
Implementations
sourceimpl Field
impl Field
pub fn create(
builder: &mut Builder,
name: impl WriteAsOptional<Offset<str>>,
nullable: impl WriteAsDefault<bool, bool>,
type_: impl WriteAsOptionalUnion<Type>,
dictionary: impl WriteAsOptional<Offset<DictionaryEncoding>>,
children: impl WriteAsOptional<Offset<[Offset<Field>]>>,
custom_metadata: impl WriteAsOptional<Offset<[Offset<KeyValue>]>>
) -> Offset<Self>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Field
impl<'de> Deserialize<'de> for Field
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Field
impl VectorWrite<Offset<Field>> for Field
impl WriteAs<Offset<Field>> for Field
impl WriteAsOffset<Field> for Field
impl WriteAsOptional<Offset<Field>> for Field
Auto Trait Implementations
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more