pub struct CompanyUpdate {
pub id: u8,
pub name: String,
pub manager: String,
pub color: u8,
pub password_protected: bool,
pub quarters_bankrupt: u8,
pub owner_share_1: u8,
pub owner_share_2: u8,
pub owner_share_3: u8,
pub owner_share_4: u8,
}
Fields§
§id: u8
ID of the company.
name: String
Name of the company.
manager: String
§color: u8
Main company colour.
password_protected: bool
Company is password protected.
quarters_bankrupt: u8
Quarters of bankruptcy.
Owner of share 1.
Owner of share 2.
Owner of share 3.
Owner of share 4.
Trait Implementations§
Source§impl Clone for CompanyUpdate
impl Clone for CompanyUpdate
Source§fn clone(&self) -> CompanyUpdate
fn clone(&self) -> CompanyUpdate
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 CompanyUpdate
impl Debug for CompanyUpdate
Source§impl<'de> Deserialize<'de> for CompanyUpdate
impl<'de> Deserialize<'de> for CompanyUpdate
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 CompanyUpdate
impl PartialEq for CompanyUpdate
Source§impl Serialize for CompanyUpdate
impl Serialize for CompanyUpdate
impl Eq for CompanyUpdate
impl StructuralPartialEq for CompanyUpdate
Auto Trait Implementations§
impl Freeze for CompanyUpdate
impl RefUnwindSafe for CompanyUpdate
impl Send for CompanyUpdate
impl Sync for CompanyUpdate
impl Unpin for CompanyUpdate
impl UnwindSafe for CompanyUpdate
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