pub struct SchemaSelection {
pub schema: Option<SchemaKey>,
}Fields§
§schema: Option<SchemaKey>Trait Implementations§
Source§impl Clone for SchemaSelection
impl Clone for SchemaSelection
Source§fn clone(&self) -> SchemaSelection
fn clone(&self) -> SchemaSelection
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 SchemaSelection
impl Debug for SchemaSelection
Source§impl Described for SchemaSelection
impl Described for SchemaSelection
impl Eq for SchemaSelection
Source§impl MemorySize for SchemaSelection
impl MemorySize for SchemaSelection
fn memory_size(&self) -> usize
Source§impl PartialEq for SchemaSelection
impl PartialEq for SchemaSelection
impl StructuralPartialEq for SchemaSelection
Source§impl Value for SchemaSelection
impl Value for SchemaSelection
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<SchemaSelection, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for SchemaSelection
impl RefUnwindSafe for SchemaSelection
impl Send for SchemaSelection
impl Sync for SchemaSelection
impl Unpin for SchemaSelection
impl UnsafeUnpin for SchemaSelection
impl UnwindSafe for SchemaSelection
Blanket Implementations§
impl<T> Allocation for T
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