pub struct StoryReactionPublicRepost {
pub peer_id: Peer,
pub story: StoryItem,
}Expand description
Generated from:
storyReactionPublicRepost#cfcd0f13 peer_id:Peer story:StoryItem = StoryReactionFields§
§peer_id: Peer§story: StoryItemTrait Implementations§
Source§impl Clone for StoryReactionPublicRepost
impl Clone for StoryReactionPublicRepost
Source§fn clone(&self) -> StoryReactionPublicRepost
fn clone(&self) -> StoryReactionPublicRepost
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoryReactionPublicRepost
impl Debug for StoryReactionPublicRepost
Source§impl Deserializable for StoryReactionPublicRepost
impl Deserializable for StoryReactionPublicRepost
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<StoryReactionPublicRepost> for StoryReaction
impl From<StoryReactionPublicRepost> for StoryReaction
Source§fn from(x: StoryReactionPublicRepost) -> Self
fn from(x: StoryReactionPublicRepost) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StoryReactionPublicRepost
impl Identifiable for StoryReactionPublicRepost
Source§const CONSTRUCTOR_ID: u32 = 0xcfcd0f13
const CONSTRUCTOR_ID: u32 = 0xcfcd0f13
The constructor ID as specified in the TL schema.
Source§impl TryFrom<StoryReaction> for StoryReactionPublicRepost
impl TryFrom<StoryReaction> for StoryReactionPublicRepost
Source§type Error = StoryReaction
type Error = StoryReaction
The type returned in the event of a conversion error.
impl StructuralPartialEq for StoryReactionPublicRepost
Auto Trait Implementations§
impl Freeze for StoryReactionPublicRepost
impl RefUnwindSafe for StoryReactionPublicRepost
impl Send for StoryReactionPublicRepost
impl Sync for StoryReactionPublicRepost
impl Unpin for StoryReactionPublicRepost
impl UnsafeUnpin for StoryReactionPublicRepost
impl UnwindSafe for StoryReactionPublicRepost
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