pub struct CreateInviteCodeResponse;Expand description
Response type for com.atproto.server.createInviteCode
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<'de> = CreateInviteCodeOutput<'de>
type Output<'de> = CreateInviteCodeOutput<'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 CreateInviteCodeResponse
impl RefUnwindSafe for CreateInviteCodeResponse
impl Send for CreateInviteCodeResponse
impl Sync for CreateInviteCodeResponse
impl Unpin 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