pub struct ProvenanceInput {
pub source_type: String,
pub ref_uri: String,
pub trust_level: TrustLevel,
pub notes: Option<String>,
}Fields§
§source_type: String§ref_uri: String§trust_level: TrustLevel§notes: Option<String>Trait Implementations§
Source§impl Clone for ProvenanceInput
impl Clone for ProvenanceInput
Source§fn clone(&self) -> ProvenanceInput
fn clone(&self) -> ProvenanceInput
Returns a duplicate of the value. Read more
1.0.0 · 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 ProvenanceInput
impl Debug for ProvenanceInput
Source§impl<'de> Deserialize<'de> for ProvenanceInput
impl<'de> Deserialize<'de> for ProvenanceInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProvenanceInput
impl RefUnwindSafe for ProvenanceInput
impl Send for ProvenanceInput
impl Sync for ProvenanceInput
impl Unpin for ProvenanceInput
impl UnsafeUnpin for ProvenanceInput
impl UnwindSafe for ProvenanceInput
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