pub struct UpdateCollectionParams {
pub name: Option<String>,
pub summary: Option<String>,
}Expand description
What an edit changes about a collection. A field left unset — None or empty — is left
off the wire, and HEY leaves what a request does not name alone.
Fields§
§name: Option<String>A new name.
summary: Option<String>A new blurb under the name.
Trait Implementations§
Source§impl Clone for UpdateCollectionParams
impl Clone for UpdateCollectionParams
Source§fn clone(&self) -> UpdateCollectionParams
fn clone(&self) -> UpdateCollectionParams
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 UpdateCollectionParams
impl Debug for UpdateCollectionParams
Source§impl Default for UpdateCollectionParams
impl Default for UpdateCollectionParams
Source§fn default() -> UpdateCollectionParams
fn default() -> UpdateCollectionParams
Returns the “default value” for a type. Read more
impl Eq for UpdateCollectionParams
Source§impl PartialEq for UpdateCollectionParams
impl PartialEq for UpdateCollectionParams
impl StructuralPartialEq for UpdateCollectionParams
Auto Trait Implementations§
impl Freeze for UpdateCollectionParams
impl RefUnwindSafe for UpdateCollectionParams
impl Send for UpdateCollectionParams
impl Sync for UpdateCollectionParams
impl Unpin for UpdateCollectionParams
impl UnsafeUnpin for UpdateCollectionParams
impl UnwindSafe for UpdateCollectionParams
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.