pub struct CreateInviteCodeResponse;Expand description
Response marker for the com.atproto.server.createInviteCode procedure.
Implements jacquard_common::xrpc::XrpcResp; successful bodies decode as Self::Output<S>, which is CreateInviteCodeOutput<S> for this endpoint.
Trait Implementations§
Source§impl XrpcResp for CreateInviteCodeResponse
impl XrpcResp for CreateInviteCodeResponse
Source§const NSID: &'static str = "com.atproto.server.createInviteCode"
const NSID: &'static str = "com.atproto.server.createInviteCode"
The NSID for this XRPC method
Source§type Output<S: BosStr> = CreateInviteCodeOutput<S>
type Output<S: BosStr> = CreateInviteCodeOutput<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 CreateInviteCodeResponse
impl RefUnwindSafe for CreateInviteCodeResponse
impl Send for CreateInviteCodeResponse
impl Sync for CreateInviteCodeResponse
impl Unpin for CreateInviteCodeResponse
impl UnsafeUnpin for CreateInviteCodeResponse
impl UnwindSafe for CreateInviteCodeResponse
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