pub enum StoryReaction {
StoryReaction(StoryReaction),
PublicForward(StoryReactionPublicForward),
PublicRepost(StoryReactionPublicRepost),
}Expand description
Variants§
StoryReaction(StoryReaction)
PublicForward(StoryReactionPublicForward)
PublicRepost(StoryReactionPublicRepost)
Trait Implementations§
Source§impl Clone for StoryReaction
impl Clone for StoryReaction
Source§fn clone(&self) -> StoryReaction
fn clone(&self) -> StoryReaction
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 StoryReaction
impl Debug for StoryReaction
Source§impl Deserializable for StoryReaction
impl Deserializable for StoryReaction
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<StoryReaction> for StoryReaction
impl From<StoryReaction> for StoryReaction
Source§fn from(x: StoryReaction) -> Self
fn from(x: StoryReaction) -> Self
Converts to this type from the input type.
Source§impl From<StoryReactionPublicForward> for StoryReaction
impl From<StoryReactionPublicForward> for StoryReaction
Source§fn from(x: StoryReactionPublicForward) -> Self
fn from(x: StoryReactionPublicForward) -> Self
Converts to this type from the input type.
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 PartialEq for StoryReaction
impl PartialEq for StoryReaction
Source§impl Serializable for StoryReaction
impl Serializable for StoryReaction
Source§impl TryFrom<StoryReaction> for StoryReaction
impl TryFrom<StoryReaction> for StoryReaction
Source§type Error = StoryReaction
type Error = StoryReaction
The type returned in the event of a conversion error.
Source§impl TryFrom<StoryReaction> for StoryReactionPublicForward
impl TryFrom<StoryReaction> for StoryReactionPublicForward
Source§type Error = StoryReaction
type Error = StoryReaction
The type returned in the event of a conversion error.
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 StoryReaction
Auto Trait Implementations§
impl Freeze for StoryReaction
impl RefUnwindSafe for StoryReaction
impl Send for StoryReaction
impl Sync for StoryReaction
impl Unpin for StoryReaction
impl UnsafeUnpin for StoryReaction
impl UnwindSafe for StoryReaction
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