pub struct ProjectAssignment {
pub id: u64,
pub is_project_manager: bool,
pub is_active: bool,
pub use_default_rates: bool,
pub budget: Option<f64>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub hourly_rate: Option<f64>,
pub project: PartialProject,
pub client: PartialClient,
pub task_assignments: Vec<TaskAssignment>,
}Fields§
§id: u64§is_project_manager: bool§is_active: bool§use_default_rates: bool§budget: Option<f64>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§hourly_rate: Option<f64>§project: PartialProject§client: PartialClient§task_assignments: Vec<TaskAssignment>Trait Implementations§
Source§impl Clone for ProjectAssignment
impl Clone for ProjectAssignment
Source§fn clone(&self) -> ProjectAssignment
fn clone(&self) -> ProjectAssignment
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 ProjectAssignment
impl Debug for ProjectAssignment
Source§impl<'de> Deserialize<'de> for ProjectAssignment
impl<'de> Deserialize<'de> for ProjectAssignment
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 ProjectAssignment
impl RefUnwindSafe for ProjectAssignment
impl Send for ProjectAssignment
impl Sync for ProjectAssignment
impl Unpin for ProjectAssignment
impl UnwindSafe for ProjectAssignment
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