Struct fastly_api::apis::domain_api::CreateDomainParams
source · pub struct CreateDomainParams {
pub service_id: String,
pub version_id: i32,
pub comment: Option<String>,
pub name: Option<String>,
}
Expand description
struct for passing parameters to the method create_domain
Fields§
§service_id: String
Alphanumeric string identifying the service.
version_id: i32
Integer identifying a service version.
comment: Option<String>
A freeform descriptive note.
name: Option<String>
The name of the domain or domains associated with this service.
Trait Implementations§
source§impl Clone for CreateDomainParams
impl Clone for CreateDomainParams
source§fn clone(&self) -> CreateDomainParams
fn clone(&self) -> CreateDomainParams
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 CreateDomainParams
impl Debug for CreateDomainParams
source§impl Default for CreateDomainParams
impl Default for CreateDomainParams
source§fn default() -> CreateDomainParams
fn default() -> CreateDomainParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CreateDomainParams
impl Send for CreateDomainParams
impl Sync for CreateDomainParams
impl Unpin for CreateDomainParams
impl UnwindSafe for CreateDomainParams
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