pub struct Tlp {
pub label: String,
pub url: Option<String>,
}Expand description
Traffic Light Protocol label.
Fields§
§label: StringTLP label (CLEAR, GREEN, AMBER, AMBER+STRICT, RED).
url: Option<String>Optional TLP specification URL.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tlp
impl<'de> Deserialize<'de> for Tlp
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 StructuralPartialEq for Tlp
Auto Trait Implementations§
impl Freeze for Tlp
impl RefUnwindSafe for Tlp
impl Send for Tlp
impl Sync for Tlp
impl Unpin for Tlp
impl UnsafeUnpin for Tlp
impl UnwindSafe for Tlp
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