pub struct ConnectSpec {
pub node_id: [u8; 32],
pub station_id: [u8; 32],
pub realms: Vec<[u8; 32]>,
pub capabilities: u64,
pub puzzle_evidence: [u8; 32],
pub addresses: Vec<Value>,
pub site: Option<Value>,
pub endorsements: Vec<Value>,
}Expand description
Fields for a CONNECT frame — see plans/PLAN_WIRE_PROTOCOL.md §5.
Fields§
§node_id: [u8; 32]§station_id: [u8; 32]§realms: Vec<[u8; 32]>§capabilities: u64§puzzle_evidence: [u8; 32]§addresses: Vec<Value>§site: Option<Value>§endorsements: Vec<Value>Implementations§
Source§impl ConnectSpec
impl ConnectSpec
Trait Implementations§
Source§impl Clone for ConnectSpec
impl Clone for ConnectSpec
Source§fn clone(&self) -> ConnectSpec
fn clone(&self) -> ConnectSpec
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 moreAuto Trait Implementations§
impl Freeze for ConnectSpec
impl RefUnwindSafe for ConnectSpec
impl Send for ConnectSpec
impl Sync for ConnectSpec
impl Unpin for ConnectSpec
impl UnsafeUnpin for ConnectSpec
impl UnwindSafe for ConnectSpec
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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