pub struct Record {
pub avatar: Option<BlobRef>,
pub created_at: Datetime,
pub description: Option<String>,
pub description_facets: Option<Vec<Main>>,
pub labels: Option<RecordLabelsEnum>,
pub name: String,
pub purpose: ListPurpose,
}
Fields§
§avatar: Option<BlobRef>
§created_at: Datetime
§description: Option<String>
§description_facets: Option<Vec<Main>>
§labels: Option<RecordLabelsEnum>
§name: String
Display name for list; can not be empty.
purpose: ListPurpose
Defines the purpose of the list (aka, moderation-oriented or curration-oriented)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Record
impl<'de> Deserialize<'de> for Record
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 Record
impl PartialEq for Record
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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