pub struct AccessQuery {
pub endpoint: String,
pub invite: Option<String>,
}Expand description
Which tier endpoint is in.
Fields§
§endpoint: StringThe endpoint’s key, hex.
invite: Option<String>The invite holder’s token it connected to the relay with, or a play token holder’s, if it is one. Left out without one; an older server ignores it, and answers as without it.
Trait Implementations§
Source§impl Clone for AccessQuery
impl Clone for AccessQuery
Source§impl Debug for AccessQuery
impl Debug for AccessQuery
Source§impl<'de> Deserialize<'de> for AccessQuery
impl<'de> Deserialize<'de> for AccessQuery
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
impl Eq for AccessQuery
Source§impl PartialEq for AccessQuery
impl PartialEq for AccessQuery
Source§impl Serialize for AccessQuery
impl Serialize for AccessQuery
impl StructuralPartialEq for AccessQuery
Auto Trait Implementations§
impl Forget for AccessQuery
impl Freeze for AccessQuery
impl Move for AccessQuery
impl RefUnwindSafe for AccessQuery
impl Send for AccessQuery
impl Sync for AccessQuery
impl Unpin for AccessQuery
impl UnsafeUnpin for AccessQuery
impl UnwindSafe for AccessQuery
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