pub struct CollectionV1 {
pub v: CollectionBaseV1,
pub time: i64,
pub major: u16,
pub minor: u16,
pub draft: bool,
pub payload: String,
pub settings: Option<String>,
}
Expand description
Collection version.
Fields§
§v: CollectionBaseV1
Schema version.
time: i64
Unix timestamp in milliseconds when the collection version was updated.
major: u16
Major collection version number.
minor: u16
Minor collection version number.
draft: bool
Signifies if the collection version is a draft.
payload: String
Collection payload JSON.
settings: Option<String>
Collection settings JSON.
Trait Implementations§
Source§impl Clone for CollectionV1
impl Clone for CollectionV1
Source§fn clone(&self) -> CollectionV1
fn clone(&self) -> CollectionV1
Returns a copy 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 CollectionV1
impl Debug for CollectionV1
Source§impl<'de> Deserialize<'de> for CollectionV1
impl<'de> Deserialize<'de> for CollectionV1
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 PartialEq for CollectionV1
impl PartialEq for CollectionV1
Source§impl Serialize for CollectionV1
impl Serialize for CollectionV1
impl StructuralPartialEq for CollectionV1
Auto Trait Implementations§
impl Freeze for CollectionV1
impl RefUnwindSafe for CollectionV1
impl Send for CollectionV1
impl Sync for CollectionV1
impl Unpin for CollectionV1
impl UnwindSafe for CollectionV1
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