pub struct GetSession;Expand description
XRPC request marker type
Trait Implementations§
Source§impl Clone for GetSession
impl Clone for GetSession
Source§fn clone(&self) -> GetSession
fn clone(&self) -> GetSession
Returns a duplicate of the value. Read more
1.0.0 · 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 GetSession
impl Debug for GetSession
Source§impl<'de> Deserialize<'de> for GetSession
impl<'de> Deserialize<'de> for GetSession
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
Source§impl IntoStatic for GetSession
impl IntoStatic for GetSession
Source§type Output = GetSession
type Output = GetSession
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl PartialEq for GetSession
impl PartialEq for GetSession
Source§impl Serialize for GetSession
impl Serialize for GetSession
Source§impl XrpcRequest for GetSession
impl XrpcRequest for GetSession
Source§const METHOD: XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query
const METHOD: XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query
XRPC method (query/GET or procedure/POST)
Source§type Response = GetSessionResponse
type Response = GetSessionResponse
Response type returned from the XRPC call (marker struct)
Source§fn encode_body(&self) -> Result<Vec<u8>, EncodeError>
fn encode_body(&self) -> Result<Vec<u8>, EncodeError>
Encode the request body for procedures. Read more
Source§fn decode_body<'de>(body: &'de [u8]) -> Result<Box<Self>, DecodeError>where
Self: Deserialize<'de>,
fn decode_body<'de>(body: &'de [u8]) -> Result<Box<Self>, DecodeError>where
Self: Deserialize<'de>,
Decode the request body for procedures. Read more
impl Copy for GetSession
impl Eq for GetSession
impl StructuralPartialEq for GetSession
Auto Trait Implementations§
impl Freeze for GetSession
impl RefUnwindSafe for GetSession
impl Send for GetSession
impl Sync for GetSession
impl Unpin for GetSession
impl UnwindSafe for GetSession
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.