pub struct BinaryType {
pub type_id: i32,
pub type_name: String,
pub affinity_key_field: Option<String>,
pub fields: Vec<(String, BinaryFieldMeta)>,
pub schemas: Vec<BinarySchemaMeta>,
pub is_enum: bool,
pub enum_values: Vec<(String, i32)>,
}Expand description
Full metadata for one binary type, as exchanged via
OP_BINARY_TYPE_GET/OP_BINARY_TYPE_PUT.
Fields§
§type_id: i32§type_name: String§affinity_key_field: Option<String>§fields: Vec<(String, BinaryFieldMeta)>§schemas: Vec<BinarySchemaMeta>§is_enum: bool§enum_values: Vec<(String, i32)>Trait Implementations§
Source§impl Clone for BinaryType
impl Clone for BinaryType
Source§fn clone(&self) -> BinaryType
fn clone(&self) -> BinaryType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinaryType
impl Debug for BinaryType
impl Eq for BinaryType
Source§impl PartialEq for BinaryType
impl PartialEq for BinaryType
impl StructuralPartialEq for BinaryType
Auto Trait Implementations§
impl Freeze for BinaryType
impl RefUnwindSafe for BinaryType
impl Send for BinaryType
impl Sync for BinaryType
impl Unpin for BinaryType
impl UnsafeUnpin for BinaryType
impl UnwindSafe for BinaryType
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