pub struct GetSessionResponse;Expand description
Response marker for the com.atproto.server.getSession query.
Implements jacquard_common::xrpc::XrpcResp; successful bodies decode as Self::Output<S>, which is GetSessionOutput<S> for this endpoint.
Trait Implementations§
Source§impl XrpcResp for GetSessionResponse
impl XrpcResp for GetSessionResponse
Source§type Output<S: BosStr> = GetSessionOutput<S>
type Output<S: BosStr> = GetSessionOutput<S>
Response output type, parameterised on backing string type.
Source§type Err = GenericError
type Err = GenericError
Error type for this request. Always owned (
DeserializeOwned).Source§fn encode_output<S>(output: &Self::Output<S>) -> Result<Vec<u8>, EncodeError>
fn encode_output<S>(output: &Self::Output<S>) -> Result<Vec<u8>, EncodeError>
Encode the response output body. Read more
Source§fn decode_output<'de, S>(
body: &'de [u8],
) -> Result<Self::Output<S>, DecodeError>
fn decode_output<'de, S>( body: &'de [u8], ) -> Result<Self::Output<S>, DecodeError>
Decode the response output body. Read more
Auto Trait Implementations§
impl Freeze for GetSessionResponse
impl RefUnwindSafe for GetSessionResponse
impl Send for GetSessionResponse
impl Sync for GetSessionResponse
impl Unpin for GetSessionResponse
impl UnsafeUnpin for GetSessionResponse
impl UnwindSafe for GetSessionResponse
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