pub struct SourceRef {
pub id: Option<String>,
pub resource: Option<String>,
pub sha256: Option<String>,
}Expand description
One entry of a concept sources list.
Fields§
§id: Option<String>The source id, when the entry carries one.
resource: Option<String>The resource the entry points at, when it carries one.
sha256: Option<String>A recorded content hash for the resource, when the entry
carries one under the sha256 key.
Trait Implementations§
impl Eq for SourceRef
impl StructuralPartialEq for SourceRef
Auto Trait Implementations§
impl Forget for SourceRef
impl Freeze for SourceRef
impl Move 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