Struct diskplan_schema::FileSchema
source · pub struct FileSchema<'t> { /* private fields */ }
Expand description
A description of a file
Implementations§
source§impl<'t> FileSchema<'t>
impl<'t> FileSchema<'t>
sourcepub fn new(source: Expression<'t>) -> Self
pub fn new(source: Expression<'t>) -> Self
Constructs a new description of a file
sourcepub fn source(&self) -> &Expression<'t>
pub fn source(&self) -> &Expression<'t>
Returns the expression of the path from where the file will inherit its content
Trait Implementations§
source§impl<'t> Clone for FileSchema<'t>
impl<'t> Clone for FileSchema<'t>
source§fn clone(&self) -> FileSchema<'t>
fn clone(&self) -> FileSchema<'t>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'t> Debug for FileSchema<'t>
impl<'t> Debug for FileSchema<'t>
source§impl<'t> PartialEq for FileSchema<'t>
impl<'t> PartialEq for FileSchema<'t>
source§fn eq(&self, other: &FileSchema<'t>) -> bool
fn eq(&self, other: &FileSchema<'t>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'t> Eq for FileSchema<'t>
impl<'t> StructuralEq for FileSchema<'t>
impl<'t> StructuralPartialEq for FileSchema<'t>
Auto Trait Implementations§
impl<'t> RefUnwindSafe for FileSchema<'t>
impl<'t> Send for FileSchema<'t>
impl<'t> Sync for FileSchema<'t>
impl<'t> Unpin for FileSchema<'t>
impl<'t> UnwindSafe for FileSchema<'t>
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