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