pub struct StoryViewPublicRepost {
pub blocked: bool,
pub blocked_my_stories_from: bool,
pub peer_id: Peer,
pub story: StoryItem,
}Expand description
Generated from:
storyViewPublicRepost#bd74cf49 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true peer_id:Peer story:StoryItem = StoryViewFields§
§blocked: bool§blocked_my_stories_from: bool§peer_id: Peer§story: StoryItemTrait Implementations§
Source§impl Clone for StoryViewPublicRepost
impl Clone for StoryViewPublicRepost
Source§fn clone(&self) -> StoryViewPublicRepost
fn clone(&self) -> StoryViewPublicRepost
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 StoryViewPublicRepost
impl Debug for StoryViewPublicRepost
Source§impl Deserializable for StoryViewPublicRepost
impl Deserializable for StoryViewPublicRepost
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<StoryViewPublicRepost> for StoryView
impl From<StoryViewPublicRepost> for StoryView
Source§fn from(x: StoryViewPublicRepost) -> Self
fn from(x: StoryViewPublicRepost) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StoryViewPublicRepost
impl Identifiable for StoryViewPublicRepost
Source§const CONSTRUCTOR_ID: u32 = 0xbd74cf49
const CONSTRUCTOR_ID: u32 = 0xbd74cf49
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StoryViewPublicRepost
impl PartialEq for StoryViewPublicRepost
Source§impl Serializable for StoryViewPublicRepost
impl Serializable for StoryViewPublicRepost
Source§impl TryFrom<StoryView> for StoryViewPublicRepost
impl TryFrom<StoryView> for StoryViewPublicRepost
impl StructuralPartialEq for StoryViewPublicRepost
Auto Trait Implementations§
impl Freeze for StoryViewPublicRepost
impl RefUnwindSafe for StoryViewPublicRepost
impl Send for StoryViewPublicRepost
impl Sync for StoryViewPublicRepost
impl Unpin for StoryViewPublicRepost
impl UnsafeUnpin for StoryViewPublicRepost
impl UnwindSafe for StoryViewPublicRepost
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