pub struct Project {Show 46 fields
pub id: UUID,
pub key: Slug,
pub name: String,
pub notes: String,
pub status_id: Status,
pub start: Option<Date>,
pub end: Option<Date>,
pub code: String,
pub po_number: String,
pub billing_type_id: BillingType,
pub is_billable: bool,
pub currency: String,
pub revenue_recognition_method: Option<RevenueRecognitionMethod>,
pub fixed_fee: Option<i64>,
pub fixed_recurring_fee: Option<i64>,
pub fixed_recurring_start: Option<Date>,
pub fixed_recurring_end: Option<Date>,
pub use_roles: bool,
pub use_budget: bool,
pub budget_mode: Option<BudgetMode>,
pub use_monthly_budget: bool,
pub monthly_budget_mode: Option<MonthlyBudgetMode>,
pub cap_max_member_hours_per_day: bool,
pub max_member_hours_per_day: Option<i32>,
pub cap_max_member_hours_per_week: bool,
pub max_member_hours_per_week: Option<i32>,
pub cap_max_member_hours_per_month: bool,
pub max_member_hours_per_month: Option<i32>,
pub requires_notes: bool,
pub requires_tasks: bool,
pub record_status_id: RecordStatus,
pub is_productive: Option<bool>,
pub lock_time_and_expenses: bool,
pub track_time_to_assigned_roles: bool,
pub cloud_folder_url: String,
pub created_at: Timestamp,
pub completed_on: Option<Date>,
pub client: Entity,
pub practice: Entity,
pub project_type: Entity,
pub tags: Vec<Entity>,
pub sales_representative: Option<Entity>,
pub business_unit: Option<Entity>,
pub project_group: Option<Entity>,
pub budget: Option<Budget>,
pub monthly_budget: Option<MonthlyBudget>,
}Expand description
Model for Project used with Read operations.
Fields§
§id: UUID§key: Slug§name: String§notes: String§status_id: Status§start: Option<Date>§end: Option<Date>§code: String§po_number: String§billing_type_id: BillingType§is_billable: bool§currency: String§revenue_recognition_method: Option<RevenueRecognitionMethod>§fixed_fee: Option<i64>§fixed_recurring_fee: Option<i64>§fixed_recurring_start: Option<Date>§fixed_recurring_end: Option<Date>§use_roles: bool§use_budget: bool§budget_mode: Option<BudgetMode>§use_monthly_budget: bool§monthly_budget_mode: Option<MonthlyBudgetMode>§cap_max_member_hours_per_day: bool§max_member_hours_per_day: Option<i32>§cap_max_member_hours_per_week: bool§max_member_hours_per_week: Option<i32>§cap_max_member_hours_per_month: bool§max_member_hours_per_month: Option<i32>§requires_notes: bool§requires_tasks: bool§record_status_id: RecordStatus§is_productive: Option<bool>§lock_time_and_expenses: bool§track_time_to_assigned_roles: bool§cloud_folder_url: String§created_at: Timestamp§completed_on: Option<Date>§client: Entity§practice: Entity§project_type: Entity§sales_representative: Option<Entity>§business_unit: Option<Entity>§project_group: Option<Entity>§budget: Option<Budget>§monthly_budget: Option<MonthlyBudget>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
impl StructuralPartialEq for Project
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnsafeUnpin 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