pub struct CreateDeviceInvite {
pub multi_use: Option<bool>,
pub allow_exit_node: Option<bool>,
pub email: Option<String>,
pub unknown: Unknown,
}Expand description
One share to create, as the request’s array carries them.
Fields§
§multi_use: Option<bool>Whether more than one person may accept this invite.
allow_exit_node: Option<bool>Whether the invited user may use the device as an exit node, where it advertises as one.
email: Option<String>Omit to create an invite nobody is mailed, whose inviteUrl is
then shared by hand.
unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for CreateDeviceInvite
impl Clone for CreateDeviceInvite
Source§fn clone(&self) -> CreateDeviceInvite
fn clone(&self) -> CreateDeviceInvite
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 CreateDeviceInvite
impl Debug for CreateDeviceInvite
Source§impl<'de> Deserialize<'de> for CreateDeviceInvite
impl<'de> Deserialize<'de> for CreateDeviceInvite
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 CreateDeviceInvite
impl PartialEq for CreateDeviceInvite
Source§impl Serialize for CreateDeviceInvite
impl Serialize for CreateDeviceInvite
impl StructuralPartialEq for CreateDeviceInvite
Auto Trait Implementations§
impl Freeze for CreateDeviceInvite
impl RefUnwindSafe for CreateDeviceInvite
impl Send for CreateDeviceInvite
impl Sync for CreateDeviceInvite
impl Unpin for CreateDeviceInvite
impl UnsafeUnpin for CreateDeviceInvite
impl UnwindSafe for CreateDeviceInvite
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