pub struct Project {Show 24 fields
pub id: u64,
pub name: String,
pub code: Option<String>,
pub is_active: bool,
pub bill_by: String,
pub budget: f64,
pub budget_by: String,
pub budget_is_monthly: bool,
pub notify_when_over_budget: bool,
pub over_budget_notification_percentage: f64,
pub over_budget_notification_date: Option<NaiveDate>,
pub show_budget_to_all: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub starts_on: Option<NaiveDate>,
pub ends_on: Option<NaiveDate>,
pub is_billable: bool,
pub is_fixed_fee: bool,
pub notes: String,
pub client: PartialClient,
pub cost_budget: Option<f64>,
pub cost_budget_include_expenses: bool,
pub hourly_rate: f64,
pub fee: Option<f64>,
}Fields§
§id: u64§name: String§code: Option<String>§is_active: bool§bill_by: String§budget: f64§budget_by: String§budget_is_monthly: bool§notify_when_over_budget: bool§over_budget_notification_percentage: f64§over_budget_notification_date: Option<NaiveDate>§show_budget_to_all: bool§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§starts_on: Option<NaiveDate>§ends_on: Option<NaiveDate>§is_billable: bool§is_fixed_fee: bool§notes: String§client: PartialClient§cost_budget: Option<f64>§cost_budget_include_expenses: bool§hourly_rate: f64§fee: Option<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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 Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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