pub struct SourceRef {
pub kind: String,
pub id: String,
pub metadata: Option<BTreeMap<String, JsonValue>>,
}Expand description
SourceRef data container.
Fields§
§kind: Stringkind field for kind.
id: Stringid field for id.
metadata: Option<BTreeMap<String, JsonValue>>metadata field for metadata.
Implementations§
Trait Implementations§
impl StructuralPartialEq for SourceRef
Auto Trait Implementations§
impl Freeze for SourceRef
impl RefUnwindSafe for SourceRef
impl Send for SourceRef
impl Sync for SourceRef
impl Unpin for SourceRef
impl UnsafeUnpin for SourceRef
impl UnwindSafe for SourceRef
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