pub struct FileSelection {
pub scope: Option<Identifier>,
pub item: Option<Identifier>,
}Fields§
§scope: Option<Identifier>§item: Option<Identifier>Trait Implementations§
Source§impl Clone for FileSelection
impl Clone for FileSelection
Source§fn clone(&self) -> FileSelection
fn clone(&self) -> FileSelection
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 FileSelection
impl Debug for FileSelection
Source§impl Described for FileSelection
impl Described for FileSelection
impl Eq for FileSelection
Source§impl MemorySize for FileSelection
impl MemorySize for FileSelection
fn memory_size(&self) -> usize
Source§impl PartialEq for FileSelection
impl PartialEq for FileSelection
impl StructuralPartialEq for FileSelection
Source§impl Value for FileSelection
impl Value for FileSelection
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<FileSelection, 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 FileSelection
impl RefUnwindSafe for FileSelection
impl Send for FileSelection
impl Sync for FileSelection
impl Unpin for FileSelection
impl UnsafeUnpin for FileSelection
impl UnwindSafe for FileSelection
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