pub struct ProtectionInfo {
pub type_: String,
pub level: String,
pub expiry: Expiry,
pub cascade: bool,
pub source: Option<String>,
}
Fields§
§type_: String
§level: String
§expiry: Expiry
§cascade: bool
§source: Option<String>
Source the cascade protection is coming from
Trait Implementations§
Source§impl Clone for ProtectionInfo
impl Clone for ProtectionInfo
Source§fn clone(&self) -> ProtectionInfo
fn clone(&self) -> ProtectionInfo
Returns a copy 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 ProtectionInfo
impl Debug for ProtectionInfo
Source§impl<'de> Deserialize<'de> for ProtectionInfo
impl<'de> Deserialize<'de> for ProtectionInfo
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 ProtectionInfo
impl RefUnwindSafe for ProtectionInfo
impl Send for ProtectionInfo
impl Sync for ProtectionInfo
impl Unpin for ProtectionInfo
impl UnwindSafe for ProtectionInfo
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