pub struct PairGetQuery {
pub as_role: String,
}Fields§
§as_role: String“host” or “guest” — caller’s role; we return the OTHER side’s data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PairGetQuery
impl<'de> Deserialize<'de> for PairGetQuery
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 PairGetQuery
impl RefUnwindSafe for PairGetQuery
impl Send for PairGetQuery
impl Sync for PairGetQuery
impl Unpin for PairGetQuery
impl UnsafeUnpin for PairGetQuery
impl UnwindSafe for PairGetQuery
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