pub enum PubkyAppCollectionLayout {
Grid,
List,
Visual,
Unknown,
}Expand description
Creator-chosen default layout for experiencing a collection.
Unrecognized values deserialize as Unknown so future layouts never
invalidate the whole post (same policy as PubkyAppPostKind).
Variants§
Trait Implementations§
Source§impl Clone for PubkyAppCollectionLayout
impl Clone for PubkyAppCollectionLayout
Source§fn clone(&self) -> PubkyAppCollectionLayout
fn clone(&self) -> PubkyAppCollectionLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for PubkyAppCollectionLayout
impl ComposeSchema for PubkyAppCollectionLayout
Source§impl Debug for PubkyAppCollectionLayout
impl Debug for PubkyAppCollectionLayout
Source§impl<'de> Deserialize<'de> for PubkyAppCollectionLayout
impl<'de> Deserialize<'de> for PubkyAppCollectionLayout
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for PubkyAppCollectionLayout
impl FromStr for PubkyAppCollectionLayout
Source§impl PartialEq for PubkyAppCollectionLayout
impl PartialEq for PubkyAppCollectionLayout
Source§impl Serialize for PubkyAppCollectionLayout
impl Serialize for PubkyAppCollectionLayout
impl StructuralPartialEq for PubkyAppCollectionLayout
Auto Trait Implementations§
impl Freeze for PubkyAppCollectionLayout
impl RefUnwindSafe for PubkyAppCollectionLayout
impl Send for PubkyAppCollectionLayout
impl Sync for PubkyAppCollectionLayout
impl Unpin for PubkyAppCollectionLayout
impl UnsafeUnpin for PubkyAppCollectionLayout
impl UnwindSafe for PubkyAppCollectionLayout
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