pub struct Initiative {Show 25 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub update_reminder_frequency_in_weeks: Option<f64>,
pub update_reminder_frequency: Option<f64>,
pub frequency_resolution: Option<FrequencyResolutionType>,
pub update_reminders_day: Option<Day>,
pub update_reminders_hour: Option<f64>,
pub name: Option<String>,
pub description: Option<String>,
pub slug_id: Option<String>,
pub sort_order: Option<f64>,
pub color: Option<String>,
pub icon: Option<String>,
pub trashed: Option<bool>,
pub target_date: Option<NaiveDate>,
pub target_date_resolution: Option<DateResolutionType>,
pub status: Option<InitiativeStatus>,
pub health: Option<InitiativeUpdateHealthType>,
pub health_updated_at: Option<DateTime<Utc>>,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
pub url: Option<String>,
pub content: Option<String>,
}Fields§
§id: Option<String>§created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§archived_at: Option<DateTime<Utc>>§update_reminder_frequency_in_weeks: Option<f64>§update_reminder_frequency: Option<f64>§frequency_resolution: Option<FrequencyResolutionType>§update_reminders_day: Option<Day>§update_reminders_hour: Option<f64>§name: Option<String>§description: Option<String>§slug_id: Option<String>§sort_order: Option<f64>§color: Option<String>§icon: Option<String>§trashed: Option<bool>§target_date: Option<NaiveDate>§target_date_resolution: Option<DateResolutionType>§status: Option<InitiativeStatus>§health: Option<InitiativeUpdateHealthType>§health_updated_at: Option<DateTime<Utc>>§started_at: Option<DateTime<Utc>>§completed_at: Option<DateTime<Utc>>§url: Option<String>§content: Option<String>Trait Implementations§
Source§impl Clone for Initiative
impl Clone for Initiative
Source§fn clone(&self) -> Initiative
fn clone(&self) -> Initiative
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 Initiative
impl Debug for Initiative
Source§impl Default for Initiative
impl Default for Initiative
Source§fn default() -> Initiative
fn default() -> Initiative
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Initiativewhere
Initiative: Default,
impl<'de> Deserialize<'de> for Initiativewhere
Initiative: Default,
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 Initiative
impl RefUnwindSafe for Initiative
impl Send for Initiative
impl Sync for Initiative
impl Unpin for Initiative
impl UnwindSafe for Initiative
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