pub struct StoryView {
pub blocked: bool,
pub blocked_my_stories_from: bool,
pub user_id: i64,
pub date: i32,
pub reaction: Option<Reaction>,
}Expand description
Generated from:
storyView#b0bdeac5 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true user_id:long date:int reaction:flags.2?Reaction = StoryViewFields§
§blocked: bool§blocked_my_stories_from: bool§user_id: i64§date: i32§reaction: Option<Reaction>Trait Implementations§
Source§impl Deserializable for StoryView
impl Deserializable for StoryView
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 Identifiable for StoryView
impl Identifiable for StoryView
Source§const CONSTRUCTOR_ID: u32 = 0xb0bdeac5
const CONSTRUCTOR_ID: u32 = 0xb0bdeac5
The constructor ID as specified in the TL schema.
Source§impl Serializable for StoryView
impl Serializable for StoryView
impl StructuralPartialEq for StoryView
Auto Trait Implementations§
impl Freeze for StoryView
impl RefUnwindSafe for StoryView
impl Send for StoryView
impl Sync for StoryView
impl Unpin for StoryView
impl UnsafeUnpin for StoryView
impl UnwindSafe for StoryView
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