pub struct CreateCollectionParams {
pub name: String,
pub summary: Option<String>,
pub account_id: Option<i64>,
}Expand description
What a new collection is made of.
Fields§
§name: StringWhat the collection is called.
summary: Option<String>The blurb shown under the name.
account_id: Option<i64>The account that owns it. None leaves HEY to pick your first.
Trait Implementations§
Source§impl Clone for CreateCollectionParams
impl Clone for CreateCollectionParams
Source§fn clone(&self) -> CreateCollectionParams
fn clone(&self) -> CreateCollectionParams
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 Debug for CreateCollectionParams
impl Debug for CreateCollectionParams
Source§impl Default for CreateCollectionParams
impl Default for CreateCollectionParams
Source§fn default() -> CreateCollectionParams
fn default() -> CreateCollectionParams
Returns the “default value” for a type. Read more
impl Eq for CreateCollectionParams
Source§impl PartialEq for CreateCollectionParams
impl PartialEq for CreateCollectionParams
impl StructuralPartialEq for CreateCollectionParams
Auto Trait Implementations§
impl Freeze for CreateCollectionParams
impl RefUnwindSafe for CreateCollectionParams
impl Send for CreateCollectionParams
impl Sync for CreateCollectionParams
impl Unpin for CreateCollectionParams
impl UnsafeUnpin for CreateCollectionParams
impl UnwindSafe for CreateCollectionParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.