pub struct CycleUpdateInput {
pub name: Option<String>,
pub description: Option<String>,
pub starts_at: Option<DateTime<Utc>>,
pub ends_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
}Fields§
§name: Option<String>The custom name of the cycle.
description: Option<String>The description of the cycle.
starts_at: Option<DateTime<Utc>>The start date of the cycle.
ends_at: Option<DateTime<Utc>>The end date of the cycle.
completed_at: Option<DateTime<Utc>>The end date of the cycle.
Trait Implementations§
Source§impl Clone for CycleUpdateInput
impl Clone for CycleUpdateInput
Source§fn clone(&self) -> CycleUpdateInput
fn clone(&self) -> CycleUpdateInput
Returns a duplicate of the value. Read more
1.0.0 · 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 CycleUpdateInput
impl Debug for CycleUpdateInput
Source§impl Default for CycleUpdateInput
impl Default for CycleUpdateInput
Source§fn default() -> CycleUpdateInput
fn default() -> CycleUpdateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CycleUpdateInput
impl<'de> Deserialize<'de> for CycleUpdateInput
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 CycleUpdateInput
impl RefUnwindSafe for CycleUpdateInput
impl Send for CycleUpdateInput
impl Sync for CycleUpdateInput
impl Unpin for CycleUpdateInput
impl UnwindSafe for CycleUpdateInput
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