pub enum StoryView {
StoryView(StoryView),
PublicForward(StoryViewPublicForward),
PublicRepost(StoryViewPublicRepost),
}Expand description
Variants§
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 From<StoryViewPublicForward> for StoryView
impl From<StoryViewPublicForward> for StoryView
Source§fn from(x: StoryViewPublicForward) -> Self
fn from(x: StoryViewPublicForward) -> Self
Converts to this type from the input type.
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 Serializable for StoryView
impl Serializable for StoryView
Source§impl TryFrom<StoryView> for StoryViewPublicForward
impl TryFrom<StoryView> for StoryViewPublicForward
Source§impl TryFrom<StoryView> for StoryViewPublicRepost
impl TryFrom<StoryView> for StoryViewPublicRepost
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