pub struct RelayProfile {Show 13 fields
pub id: String,
pub label: String,
pub relay_url: String,
pub user_id: String,
pub device_id: String,
pub hostname: String,
pub encryption_key: String,
pub device_private_key: String,
pub credential_version: u64,
pub token: String,
pub machine_id: String,
pub email: String,
pub identity_provider: String,
}Fields§
§id: String§label: String§relay_url: String§user_id: String§device_id: String§hostname: String§encryption_key: String§device_private_key: String§credential_version: u64§token: String§machine_id: StringStable per-machine identifier (opaque hash). Used by the relay to
recognize repeat sign-ins from the same machine and reuse a single
device row instead of creating duplicates. Empty for legacy configs;
backfilled on next save via client_core::machine::stable_machine_id.
email: StringVerified email address returned by the OAuth provider at login time. Empty for legacy configs or when the provider did not return a verified email.
identity_provider: StringOAuth identity provider used for the most recent login (“google” or “github”). Empty for legacy configs.
Implementations§
Trait Implementations§
Source§impl Clone for RelayProfile
impl Clone for RelayProfile
Source§fn clone(&self) -> RelayProfile
fn clone(&self) -> RelayProfile
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 RelayProfile
impl Debug for RelayProfile
Source§impl<'de> Deserialize<'de> for RelayProfile
impl<'de> Deserialize<'de> for RelayProfile
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 RelayProfile
impl RefUnwindSafe for RelayProfile
impl Send for RelayProfile
impl Sync for RelayProfile
impl Unpin for RelayProfile
impl UnsafeUnpin for RelayProfile
impl UnwindSafe for RelayProfile
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