pub struct CompanyUpdate {
pub name: Option<String>,
pub mission: Option<String>,
pub budget: Option<f64>,
pub description: Option<String>,
pub strategic_goals: Option<Vec<String>>,
pub config: Option<Map<String, Value>>,
}Expand description
Body for PUT /api/v1/companies/{id}. Every field optional — send only what changes.
Fields§
§name: Option<String>§mission: Option<String>§budget: Option<f64>§description: Option<String>§strategic_goals: Option<Vec<String>>§config: Option<Map<String, Value>>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 (const: unstable) · 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 Default for CompanyUpdate
impl Default for CompanyUpdate
Source§fn default() -> CompanyUpdate
fn default() -> CompanyUpdate
Returns the “default value” for a type. Read more
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 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 UnsafeUnpin 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