pub struct PostLinkChunk {
pub offset: u32,
pub total: u32,
pub data: String,
}Expand description
Reply of instance.post_link (3.1): one chunk of the written post-link
bytes. Clients read from offset 0 until they hold total bytes.
Fields§
§offset: u32Offset of data in the written bytes, as requested.
total: u32Number of written bytes.
data: StringLowercase hex of at most POST_LINK_CHUNK_MAX bytes; empty at or
past the end.
Trait Implementations§
Source§impl Clone for PostLinkChunk
impl Clone for PostLinkChunk
Source§impl Debug for PostLinkChunk
impl Debug for PostLinkChunk
Source§impl<'de> Deserialize<'de> for PostLinkChunk
impl<'de> Deserialize<'de> for PostLinkChunk
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PostLinkChunk
Source§impl PartialEq for PostLinkChunk
impl PartialEq for PostLinkChunk
Source§impl Serialize for PostLinkChunk
impl Serialize for PostLinkChunk
impl StructuralPartialEq for PostLinkChunk
Auto Trait Implementations§
impl Freeze for PostLinkChunk
impl RefUnwindSafe for PostLinkChunk
impl Send for PostLinkChunk
impl Sync for PostLinkChunk
impl Unpin for PostLinkChunk
impl UnsafeUnpin for PostLinkChunk
impl UnwindSafe for PostLinkChunk
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