pub struct CreateSessionResponse;Expand description
Response marker for the com.atproto.server.createSession procedure.
Implements jacquard_common::xrpc::XrpcResp; successful bodies decode as Self::Output<S>, which is CreateSessionOutput<S> for this endpoint.
Trait Implementations§
Source§impl XrpcResp for CreateSessionResponse
impl XrpcResp for CreateSessionResponse
Source§type Output<S: BosStr> = CreateSessionOutput<S>
type Output<S: BosStr> = CreateSessionOutput<S>
Response output type, parameterised on backing string type.
Source§type Err = CreateSessionError
type Err = CreateSessionError
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 CreateSessionResponse
impl RefUnwindSafe for CreateSessionResponse
impl Send for CreateSessionResponse
impl Sync for CreateSessionResponse
impl Unpin for CreateSessionResponse
impl UnsafeUnpin for CreateSessionResponse
impl UnwindSafe for CreateSessionResponse
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