pub struct ProjectExpanded {
pub id: Option<i32>,
pub customer: Box<Customer>,
pub name: String,
pub comment: Option<String>,
pub visible: Option<bool>,
pub billable: Option<bool>,
pub global_activities: Option<bool>,
pub number: Option<String>,
pub color: Option<String>,
}Fields§
§id: Option<i32>§customer: Box<Customer>§name: String§comment: Option<String>§visible: Option<bool>§billable: Option<bool>§global_activities: Option<bool>§number: Option<String>§color: Option<String>Implementations§
Source§impl ProjectExpanded
impl ProjectExpanded
pub fn new(customer: Customer, name: String) -> ProjectExpanded
Trait Implementations§
Source§impl Clone for ProjectExpanded
impl Clone for ProjectExpanded
Source§fn clone(&self) -> ProjectExpanded
fn clone(&self) -> ProjectExpanded
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 ProjectExpanded
impl Debug for ProjectExpanded
Source§impl Default for ProjectExpanded
impl Default for ProjectExpanded
Source§fn default() -> ProjectExpanded
fn default() -> ProjectExpanded
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectExpanded
impl<'de> Deserialize<'de> for ProjectExpanded
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
Source§impl PartialEq for ProjectExpanded
impl PartialEq for ProjectExpanded
Source§impl Serialize for ProjectExpanded
impl Serialize for ProjectExpanded
impl StructuralPartialEq for ProjectExpanded
Auto Trait Implementations§
impl Freeze for ProjectExpanded
impl RefUnwindSafe for ProjectExpanded
impl Send for ProjectExpanded
impl Sync for ProjectExpanded
impl Unpin for ProjectExpanded
impl UnwindSafe for ProjectExpanded
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