Struct fastly_api::models::service_create::ServiceCreate
source · 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 copy 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