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§
§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
Source§fn eq(&self, other: &SourceDescription) -> bool
fn eq(&self, other: &SourceDescription) -> bool
Tests for
self and other values to be equal, and is used by ==.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