pub struct PeerAddParams {
pub nickname: String,
pub endpoint_id: String,
pub allow: Vec<String>,
}Expand description
Params of Request::PeerAdd (reserved/internal — see the variant): a raw endpoint_id
(iroh base32) plus the nickname and service allow list to install it under.
Fields§
§nickname: String§endpoint_id: String§allow: Vec<String>Trait Implementations§
Source§impl Clone for PeerAddParams
impl Clone for PeerAddParams
Source§fn clone(&self) -> PeerAddParams
fn clone(&self) -> PeerAddParams
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 PeerAddParams
impl Debug for PeerAddParams
Source§impl<'de> Deserialize<'de> for PeerAddParams
impl<'de> Deserialize<'de> for PeerAddParams
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 Eq for PeerAddParams
Source§impl PartialEq for PeerAddParams
impl PartialEq for PeerAddParams
Source§impl Serialize for PeerAddParams
impl Serialize for PeerAddParams
impl StructuralPartialEq for PeerAddParams
Auto Trait Implementations§
impl Freeze for PeerAddParams
impl RefUnwindSafe for PeerAddParams
impl Send for PeerAddParams
impl Sync for PeerAddParams
impl Unpin for PeerAddParams
impl UnsafeUnpin for PeerAddParams
impl UnwindSafe for PeerAddParams
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