pub enum PubkyAppObject {
User(PubkyAppUser),
Post(PubkyAppPost),
Follow(PubkyAppFollow),
Mute(PubkyAppMute),
Bookmark(PubkyAppBookmark),
Tag(PubkyAppTag),
File(PubkyAppFile),
Blob(PubkyAppBlob),
Feed(PubkyAppFeed),
LastRead(PubkyAppLastRead),
}
Expand description
A unified enum wrapping all PubkyApp objects.
Variants§
User(PubkyAppUser)
Post(PubkyAppPost)
Follow(PubkyAppFollow)
Mute(PubkyAppMute)
Bookmark(PubkyAppBookmark)
Tag(PubkyAppTag)
File(PubkyAppFile)
Blob(PubkyAppBlob)
Feed(PubkyAppFeed)
LastRead(PubkyAppLastRead)
Implementations§
Trait Implementations§
Source§impl Clone for PubkyAppObject
impl Clone for PubkyAppObject
Source§fn clone(&self) -> PubkyAppObject
fn clone(&self) -> PubkyAppObject
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 moreAuto Trait Implementations§
impl Freeze for PubkyAppObject
impl RefUnwindSafe for PubkyAppObject
impl Send for PubkyAppObject
impl Sync for PubkyAppObject
impl Unpin for PubkyAppObject
impl UnwindSafe for PubkyAppObject
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