pub struct CreateInviteCodesResponse;Expand description
Response type for com.atproto.server.createInviteCodes
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<'de> = CreateInviteCodesOutput<'de>
type Output<'de> = CreateInviteCodesOutput<'de>
Response output type
Source§type Err<'de> = GenericError<'de>
type Err<'de> = GenericError<'de>
Error type for this request
Source§fn encode_output(output: &Self::Output<'_>) -> Result<Vec<u8>, EncodeError>
fn encode_output(output: &Self::Output<'_>) -> Result<Vec<u8>, EncodeError>
Output body encoding function, similar to the request-side type
Source§fn decode_output<'de>(body: &'de [u8]) -> Result<Self::Output<'de>, DecodeError>where
Self::Output<'de>: Deserialize<'de>,
fn decode_output<'de>(body: &'de [u8]) -> Result<Self::Output<'de>, DecodeError>where
Self::Output<'de>: Deserialize<'de>,
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 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