pub struct UpdateListParams {
pub add_items: Option<Vec<String>>,
pub remove_items: Option<Vec<String>>,
}Expand description
Parameters for update_list. Either or both fields may be supplied.
Fields§
§add_items: Option<Vec<String>>Items to add to the list.
remove_items: Option<Vec<String>>Items to remove from the list.
Trait Implementations§
Source§impl Clone for UpdateListParams
impl Clone for UpdateListParams
Source§fn clone(&self) -> UpdateListParams
fn clone(&self) -> UpdateListParams
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 UpdateListParams
impl Debug for UpdateListParams
Source§impl Default for UpdateListParams
impl Default for UpdateListParams
Source§fn default() -> UpdateListParams
fn default() -> UpdateListParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateListParams
impl<'de> Deserialize<'de> for UpdateListParams
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
Auto Trait Implementations§
impl Freeze for UpdateListParams
impl RefUnwindSafe for UpdateListParams
impl Send for UpdateListParams
impl Sync for UpdateListParams
impl Unpin for UpdateListParams
impl UnsafeUnpin for UpdateListParams
impl UnwindSafe for UpdateListParams
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