pub struct CommTrustProfile {
pub default_level: CommTrustLevel,
pub overrides: HashMap<String, CommTrustLevel>,
}Expand description
Trust profile for an agent.
Fields§
§default_level: CommTrustLevelDefault trust level for unknown agents.
overrides: HashMap<String, CommTrustLevel>Per-agent trust overrides.
Trait Implementations§
Source§impl Clone for CommTrustProfile
impl Clone for CommTrustProfile
Source§fn clone(&self) -> CommTrustProfile
fn clone(&self) -> CommTrustProfile
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 CommTrustProfile
impl Debug for CommTrustProfile
Source§impl Default for CommTrustProfile
impl Default for CommTrustProfile
Source§impl<'de> Deserialize<'de> for CommTrustProfile
impl<'de> Deserialize<'de> for CommTrustProfile
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 CommTrustProfile
impl RefUnwindSafe for CommTrustProfile
impl Send for CommTrustProfile
impl Sync for CommTrustProfile
impl Unpin for CommTrustProfile
impl UnsafeUnpin for CommTrustProfile
impl UnwindSafe for CommTrustProfile
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