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 duplicate 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>
impl<'t> Eq for FileSchema<'t>
impl<'t> StructuralPartialEq for FileSchema<'t>
Auto Trait Implementations§
impl<'t> Freeze for FileSchema<'t>
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