pub struct CreateDraftResponse;Expand description
Response type for app.bsky.draft.createDraft
Trait Implementations§
Source§impl XrpcResp for CreateDraftResponse
impl XrpcResp for CreateDraftResponse
Source§type Output<'de> = CreateDraftOutput<'de>
type Output<'de> = CreateDraftOutput<'de>
Response output type
Source§type Err<'de> = CreateDraftError<'de>
type Err<'de> = CreateDraftError<'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 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