pub struct InviteParams {
pub name: String,
pub ttl: Option<u64>,
pub workgroup: Option<String>,
}Expand description
Parameters of INVITE.
Fields§
§name: StringWhat the joining device will be called in the ledger.
ttl: Option<u64>How long the invite stays good, in seconds. None uses the bridge’s default.
workgroup: Option<String>The workgroup to invite into, by name or id. None uses this host’s only one.
Trait Implementations§
Source§impl Clone for InviteParams
impl Clone for InviteParams
Source§impl Debug for InviteParams
impl Debug for InviteParams
Source§impl<'de> Deserialize<'de> for InviteParams
impl<'de> Deserialize<'de> for InviteParams
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 InviteParams
impl RefUnwindSafe for InviteParams
impl Send for InviteParams
impl Sync for InviteParams
impl Unpin for InviteParams
impl UnsafeUnpin for InviteParams
impl UnwindSafe for InviteParams
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