pub struct SourceConfig {
pub kind: SourceKind,
}Expand description
Bundled @source configuration.
Fields§
§kind: SourceKindThe single origin kind for this table.
Implementations§
Source§impl SourceConfig
impl SourceConfig
Sourcepub fn source_type_name(&self) -> Option<&str>
pub fn source_type_name(&self) -> Option<&str>
Convenience: the type-name string that this source references,
if any. Only Table returns Some; the URL/function arms
reference external resources that aren’t cycle-checkable
against schema-local types.
Trait Implementations§
Source§impl Clone for SourceConfig
impl Clone for SourceConfig
Source§fn clone(&self) -> SourceConfig
fn clone(&self) -> SourceConfig
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 moreAuto Trait Implementations§
impl Freeze for SourceConfig
impl RefUnwindSafe for SourceConfig
impl Send for SourceConfig
impl Sync for SourceConfig
impl Unpin for SourceConfig
impl UnsafeUnpin for SourceConfig
impl UnwindSafe for SourceConfig
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