pub struct ObjectSelection {
pub schema: Option<SchemaKey>,
pub key: Option<ObjectKey>,
pub versions: ObjectVersions,
}Fields§
§schema: Option<SchemaKey>§key: Option<ObjectKey>§versions: ObjectVersionsImplementations§
Source§impl ObjectSelection
impl ObjectSelection
pub fn follows_revisions(&self) -> bool
Trait Implementations§
Source§impl Clone for ObjectSelection
impl Clone for ObjectSelection
Source§fn clone(&self) -> ObjectSelection
fn clone(&self) -> ObjectSelection
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 ObjectSelection
impl Debug for ObjectSelection
Source§impl Described for ObjectSelection
impl Described for ObjectSelection
impl Eq for ObjectSelection
Source§impl MemorySize for ObjectSelection
impl MemorySize for ObjectSelection
fn memory_size(&self) -> usize
Source§impl PartialEq for ObjectSelection
impl PartialEq for ObjectSelection
impl StructuralPartialEq for ObjectSelection
Source§impl Value for ObjectSelection
impl Value for ObjectSelection
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<ObjectSelection, 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 ObjectSelection
impl RefUnwindSafe for ObjectSelection
impl Send for ObjectSelection
impl Sync for ObjectSelection
impl Unpin for ObjectSelection
impl UnsafeUnpin for ObjectSelection
impl UnwindSafe for ObjectSelection
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