pub struct PairingResponse {
pub agent_id: String,
pub url: String,
pub protocol: String,
pub version: String,
pub auth_token: String,
pub cert_fingerprint: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub cwd: String,
pub relay_url: Option<String>,
}Expand description
Result type for pairing response
Fields§
§agent_id: StringStable agent identity shared across all transports.
url: String§protocol: String§version: String§auth_token: String§cert_fingerprint: Option<String>§client_id: Option<String>§client_secret: Option<String>§cwd: StringThe working directory where the bridge was started.
relay_url: Option<String>Push relay URL, present only when push is fully configured on the bridge. Mobile clients use this to know whether to register their push token.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PairingResponse
impl RefUnwindSafe for PairingResponse
impl Send for PairingResponse
impl Sync for PairingResponse
impl Unpin for PairingResponse
impl UnsafeUnpin for PairingResponse
impl UnwindSafe for PairingResponse
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more