pub struct SignalItem {
pub id: String,
pub kind: String,
pub severity: String,
pub target: SignalTarget,
pub reason: String,
pub recommended_action: String,
pub blocks: Vec<String>,
pub caveats: Vec<String>,
}Fields§
§id: String§kind: String§severity: String§target: SignalTarget§reason: String§recommended_action: String§blocks: Vec<String>§caveats: Vec<String>Trait Implementations§
Source§impl Clone for SignalItem
impl Clone for SignalItem
Source§fn clone(&self) -> SignalItem
fn clone(&self) -> SignalItem
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 SignalItem
impl Debug for SignalItem
Source§impl<'de> Deserialize<'de> for SignalItem
impl<'de> Deserialize<'de> for SignalItem
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
Source§impl PartialEq for SignalItem
impl PartialEq for SignalItem
Source§fn eq(&self, other: &SignalItem) -> bool
fn eq(&self, other: &SignalItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignalItem
impl Serialize for SignalItem
impl Eq for SignalItem
impl StructuralPartialEq for SignalItem
Auto Trait Implementations§
impl Freeze for SignalItem
impl RefUnwindSafe for SignalItem
impl Send for SignalItem
impl Sync for SignalItem
impl Unpin for SignalItem
impl UnsafeUnpin for SignalItem
impl UnwindSafe for SignalItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.