pub struct CreateServiceParams {
pub comment: Option<String>,
pub name: Option<String>,
pub customer_id: Option<String>,
pub _type: Option<String>,
}
Expand description
struct for passing parameters to the method create_service
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<String>
The type of this service.
Trait Implementations§
Source§impl Clone for CreateServiceParams
impl Clone for CreateServiceParams
Source§fn clone(&self) -> CreateServiceParams
fn clone(&self) -> CreateServiceParams
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 CreateServiceParams
impl Debug for CreateServiceParams
Source§impl Default for CreateServiceParams
impl Default for CreateServiceParams
Source§fn default() -> CreateServiceParams
fn default() -> CreateServiceParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateServiceParams
impl RefUnwindSafe for CreateServiceParams
impl Send for CreateServiceParams
impl Sync for CreateServiceParams
impl Unpin for CreateServiceParams
impl UnwindSafe for CreateServiceParams
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