pub struct GetPostsResponse;Expand description
Response marker for the app.bsky.feed.getPosts query.
Implements jacquard_common::xrpc::XrpcResp; successful bodies decode as Self::Output<S>, which is GetPostsOutput<S> for this endpoint.
Trait Implementations§
Source§impl XrpcResp for GetPostsResponse
impl XrpcResp for GetPostsResponse
Source§type Output<S: BosStr> = GetPostsOutput<S>
type Output<S: BosStr> = GetPostsOutput<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 GetPostsResponse
impl RefUnwindSafe for GetPostsResponse
impl Send for GetPostsResponse
impl Sync for GetPostsResponse
impl Unpin for GetPostsResponse
impl UnsafeUnpin for GetPostsResponse
impl UnwindSafe for GetPostsResponse
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