pub struct GetLatestCommitResponse;Expand description
Response type for com.atproto.sync.getLatestCommit
Trait Implementations§
Source§impl XrpcResp for GetLatestCommitResponse
impl XrpcResp for GetLatestCommitResponse
Source§type Output<'de> = GetLatestCommitOutput<'de>
type Output<'de> = GetLatestCommitOutput<'de>
Response output type
Source§type Err<'de> = GetLatestCommitError<'de>
type Err<'de> = GetLatestCommitError<'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 GetLatestCommitResponse
impl RefUnwindSafe for GetLatestCommitResponse
impl Send for GetLatestCommitResponse
impl Sync for GetLatestCommitResponse
impl Unpin for GetLatestCommitResponse
impl UnwindSafe for GetLatestCommitResponse
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