pub struct RequestBodyForCreate {
pub fqdn: String,
pub service_id: Option<String>,
pub description: Option<String>,
}Expand description
RequestBodyForCreate : All attributes for creating a domain
Fields§
§fqdn: StringThe fully-qualified domain name for your domain. Can be created, but not updated.
service_id: Option<String>The service_id associated with your domain or null if there is no association.
description: Option<String>A freeform descriptive note.
Implementations§
Source§impl RequestBodyForCreate
impl RequestBodyForCreate
Sourcepub fn new(fqdn: String) -> RequestBodyForCreate
pub fn new(fqdn: String) -> RequestBodyForCreate
All attributes for creating a domain
Trait Implementations§
Source§impl Clone for RequestBodyForCreate
impl Clone for RequestBodyForCreate
Source§fn clone(&self) -> RequestBodyForCreate
fn clone(&self) -> RequestBodyForCreate
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 RequestBodyForCreate
impl Debug for RequestBodyForCreate
Source§impl Default for RequestBodyForCreate
impl Default for RequestBodyForCreate
Source§fn default() -> RequestBodyForCreate
fn default() -> RequestBodyForCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RequestBodyForCreate
impl<'de> Deserialize<'de> for RequestBodyForCreate
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 RequestBodyForCreate
impl PartialEq for RequestBodyForCreate
Source§impl Serialize for RequestBodyForCreate
impl Serialize for RequestBodyForCreate
impl StructuralPartialEq for RequestBodyForCreate
Auto Trait Implementations§
impl Freeze for RequestBodyForCreate
impl RefUnwindSafe for RequestBodyForCreate
impl Send for RequestBodyForCreate
impl Sync for RequestBodyForCreate
impl Unpin for RequestBodyForCreate
impl UnwindSafe for RequestBodyForCreate
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