#[non_exhaustive]pub struct SourceDescription {
pub kind: SourceKind,
pub display_name: Option<String>,
}Expand description
Caller-visible description of a workbook input source.
display_name is never an absolute path unless the caller explicitly
provided it as such.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: SourceKind§display_name: Option<String>Trait Implementations§
Source§impl Clone for SourceDescription
impl Clone for SourceDescription
Source§fn clone(&self) -> SourceDescription
fn clone(&self) -> SourceDescription
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 SourceDescription
impl Debug for SourceDescription
Source§impl PartialEq for SourceDescription
impl PartialEq for SourceDescription
impl StructuralPartialEq for SourceDescription
Auto Trait Implementations§
impl Freeze for SourceDescription
impl RefUnwindSafe for SourceDescription
impl Send for SourceDescription
impl Sync for SourceDescription
impl Unpin for SourceDescription
impl UnsafeUnpin for SourceDescription
impl UnwindSafe for SourceDescription
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