pub struct ConnectionCreateInvitationOptions {
pub auto_accept: bool,
pub qr: bool,
pub toolbox: bool,
pub multi_use: bool,
pub alias: Option<String>,
}
Expand description
Options supplied by the frontend for creating an invitation
Fields§
§auto_accept: bool
Whether we want to auto accept the connection process
qr: bool
Whether a QR should be outputted to the user
toolbox: bool
Whether it should create a special invitation for the toolbox
multi_use: bool
Whether the invitation is reuseable
alias: Option<String>
Optional custom alias for the connection
Trait Implementations§
Source§impl Default for ConnectionCreateInvitationOptions
impl Default for ConnectionCreateInvitationOptions
Source§fn default() -> ConnectionCreateInvitationOptions
fn default() -> ConnectionCreateInvitationOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConnectionCreateInvitationOptions
impl RefUnwindSafe for ConnectionCreateInvitationOptions
impl Send for ConnectionCreateInvitationOptions
impl Sync for ConnectionCreateInvitationOptions
impl Unpin for ConnectionCreateInvitationOptions
impl UnwindSafe for ConnectionCreateInvitationOptions
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