pub struct Authority {
pub primary_sources: Vec<String>,
pub evidence_links: Option<Vec<String>>,
pub verifications: Option<Vec<Verification>>,
}Expand description
Authority information for the entity.
Fields§
§primary_sources: Vec<String>Ordered list of canonical sources; earlier outranks later. MUST be non-empty.
evidence_links: Option<Vec<String>>Optional secondary corroborating sources.
verifications: Option<Vec<Verification>>Optional verification proofs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Authority
impl<'de> Deserialize<'de> for Authority
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 Authority
impl RefUnwindSafe for Authority
impl Send for Authority
impl Sync for Authority
impl Unpin for Authority
impl UnsafeUnpin for Authority
impl UnwindSafe for Authority
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