pub struct ContextAuthority {
pub producer: String,
pub assurance_level: AssuranceLevel,
pub runtime_owned: bool,
}Expand description
Authority that produced a context statement.
Fields§
§producer: StringStable producer identity.
assurance_level: AssuranceLevelAssurance boundary inherited from the source observation.
runtime_owned: boolWhether the producer and classification are runtime-owned.
Trait Implementations§
Source§impl Clone for ContextAuthority
impl Clone for ContextAuthority
Source§fn clone(&self) -> ContextAuthority
fn clone(&self) -> ContextAuthority
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 ContextAuthority
impl Debug for ContextAuthority
Source§impl<'de> Deserialize<'de> for ContextAuthority
impl<'de> Deserialize<'de> for ContextAuthority
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
impl Eq for ContextAuthority
Source§impl PartialEq for ContextAuthority
impl PartialEq for ContextAuthority
Source§impl Serialize for ContextAuthority
impl Serialize for ContextAuthority
impl StructuralPartialEq for ContextAuthority
Auto Trait Implementations§
impl Freeze for ContextAuthority
impl RefUnwindSafe for ContextAuthority
impl Send for ContextAuthority
impl Sync for ContextAuthority
impl Unpin for ContextAuthority
impl UnsafeUnpin for ContextAuthority
impl UnwindSafe for ContextAuthority
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