pub struct ServiceCreate {
pub comment: Option<String>,
pub name: Option<String>,
pub customer_id: Option<String>,
pub _type: Option<Type>,
}
Fields§
§comment: Option<String>
A freeform descriptive note.
name: Option<String>
The name of the service.
customer_id: Option<String>
Alphanumeric string identifying the customer.
_type: Option<Type>
The type of this service.
Implementations§
Source§impl ServiceCreate
impl ServiceCreate
pub fn new() -> ServiceCreate
Trait Implementations§
Source§impl Clone for ServiceCreate
impl Clone for ServiceCreate
Source§fn clone(&self) -> ServiceCreate
fn clone(&self) -> ServiceCreate
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 ServiceCreate
impl Debug for ServiceCreate
Source§impl Default for ServiceCreate
impl Default for ServiceCreate
Source§fn default() -> ServiceCreate
fn default() -> ServiceCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceCreate
impl<'de> Deserialize<'de> for ServiceCreate
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 ServiceCreate
impl PartialEq for ServiceCreate
Source§impl Serialize for ServiceCreate
impl Serialize for ServiceCreate
impl StructuralPartialEq for ServiceCreate
Auto Trait Implementations§
impl Freeze for ServiceCreate
impl RefUnwindSafe for ServiceCreate
impl Send for ServiceCreate
impl Sync for ServiceCreate
impl Unpin for ServiceCreate
impl UnwindSafe for ServiceCreate
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