pub struct SourceDef {
pub kind: String,
pub path: Option<String>,
}Expand description
One declared source, parsed from [sources.<name>] in mesofact.config.toml.
Only the fields the generation poll needs are kept.
Fields§
§kind: String§path: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceDef
impl RefUnwindSafe for SourceDef
impl Send for SourceDef
impl Sync for SourceDef
impl Unpin for SourceDef
impl UnsafeUnpin for SourceDef
impl UnwindSafe for SourceDef
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