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