pub struct InviteScriptQuery {
pub format: Option<String>,
}Fields§
§format: Option<String>format=url returns the raw wire://pair?... URL as text/plain
(used by wire accept https://wireup.net/i/<token> to resolve a
short URL programmatically). Default: shell-script template.
Note: ?format=url does NOT decrement uses_remaining — it’s a
resolution lookup, not an acceptance. The actual accept happens
when the wire:// URL is consumed by pair_invite::accept_invite.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InviteScriptQuery
impl<'de> Deserialize<'de> for InviteScriptQuery
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 InviteScriptQuery
impl RefUnwindSafe for InviteScriptQuery
impl Send for InviteScriptQuery
impl Sync for InviteScriptQuery
impl Unpin for InviteScriptQuery
impl UnsafeUnpin for InviteScriptQuery
impl UnwindSafe for InviteScriptQuery
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