pub struct UpdateCardInput {
pub name: Option<String>,
pub desc: Option<String>,
pub closed: Option<bool>,
pub id_list: Option<String>,
pub pos: Option<String>,
pub due: Option<String>,
pub due_complete: Option<bool>,
}Expand description
Update card input.
Fields§
§name: Option<String>§desc: Option<String>§closed: Option<bool>§id_list: Option<String>§pos: Option<String>§due: Option<String>§due_complete: Option<bool>Implementations§
Source§impl UpdateCardInput
impl UpdateCardInput
pub fn new() -> Self
pub fn name(self, name: impl Into<String>) -> Self
pub fn desc(self, desc: impl Into<String>) -> Self
pub fn closed(self, closed: bool) -> Self
pub fn id_list(self, list_id: impl Into<String>) -> Self
pub fn due(self, due: impl Into<String>) -> Self
pub fn due_complete(self, complete: bool) -> Self
Trait Implementations§
Source§impl Clone for UpdateCardInput
impl Clone for UpdateCardInput
Source§fn clone(&self) -> UpdateCardInput
fn clone(&self) -> UpdateCardInput
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 UpdateCardInput
impl Debug for UpdateCardInput
Source§impl Default for UpdateCardInput
impl Default for UpdateCardInput
Source§fn default() -> UpdateCardInput
fn default() -> UpdateCardInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateCardInput
impl RefUnwindSafe for UpdateCardInput
impl Send for UpdateCardInput
impl Sync for UpdateCardInput
impl Unpin for UpdateCardInput
impl UnsafeUnpin for UpdateCardInput
impl UnwindSafe for UpdateCardInput
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