pub struct ToolTrust {
pub publisher: String,
pub trust_level: TrustLevel,
pub signature: Option<Vec<u8>>,
}Fields§
§publisher: String§trust_level: TrustLevelPublisher self-declared in v1 — ATD does NOT verify trust level.
L4Certified means “the publisher claims certification”, not “ATD
verified it”. Use only as a hint to higher layers; do NOT base a
security decision on this field alone. A future SP may add
publisher-key PKI verification. See architecture §6.1 / §10.3.
signature: Option<Vec<u8>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolTrust
impl<'de> Deserialize<'de> for ToolTrust
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 ToolTrust
impl RefUnwindSafe for ToolTrust
impl Send for ToolTrust
impl Sync for ToolTrust
impl Unpin for ToolTrust
impl UnsafeUnpin for ToolTrust
impl UnwindSafe for ToolTrust
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