pub struct SinkholeListPatch {
pub is_shared: Option<bool>,
pub name: Option<Option<String>>,
}Expand description
PATCH /sinkhole-lists/:uuid body; None fields stay unchanged, at least one must be
set.
Fields§
Share or unshare. Unsharing keeps the links other users already have.
name: Option<Option<String>>Some(Some(name)) renames the list, Some(None) removes its name.
Implementations§
Trait Implementations§
Source§impl Clone for SinkholeListPatch
impl Clone for SinkholeListPatch
Source§fn clone(&self) -> SinkholeListPatch
fn clone(&self) -> SinkholeListPatch
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 SinkholeListPatch
impl Debug for SinkholeListPatch
Source§impl Default for SinkholeListPatch
impl Default for SinkholeListPatch
Source§fn default() -> SinkholeListPatch
fn default() -> SinkholeListPatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SinkholeListPatch
impl RefUnwindSafe for SinkholeListPatch
impl Send for SinkholeListPatch
impl Sync for SinkholeListPatch
impl Unpin for SinkholeListPatch
impl UnsafeUnpin for SinkholeListPatch
impl UnwindSafe for SinkholeListPatch
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