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