pub struct ChannelSignature {
pub key: String,
pub display: String,
pub confidence: f64,
pub tier: u8,
pub evidence: Vec<String>,
pub all_hops: Vec<String>,
}Fields§
§key: StringStable classifier key. The verdict layer routes on this.
display: StringLocalised name for display.
confidence: f64§tier: u8§evidence: Vec<String>§all_hops: Vec<String>Every relay vendor we saw a signature for; more than one means the request passed through more than one hop.
Trait Implementations§
Source§impl Clone for ChannelSignature
impl Clone for ChannelSignature
Source§fn clone(&self) -> ChannelSignature
fn clone(&self) -> ChannelSignature
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 ChannelSignature
impl Debug for ChannelSignature
Source§impl Default for ChannelSignature
impl Default for ChannelSignature
Source§fn default() -> ChannelSignature
fn default() -> ChannelSignature
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelSignature
impl<'de> Deserialize<'de> for ChannelSignature
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 ChannelSignature
impl RefUnwindSafe for ChannelSignature
impl Send for ChannelSignature
impl Sync for ChannelSignature
impl Unpin for ChannelSignature
impl UnsafeUnpin for ChannelSignature
impl UnwindSafe for ChannelSignature
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