pub struct AddDomainReq {
pub app: Option<String>,
pub host: Option<String>,
pub project: Option<String>,
}Fields§
§app: Option<String>App is the application’s slug, from the path.
host: Option<String>Host is the hostname to attach. Required, and must be a valid DNS hostname.
project: Option<String>Project is the project the application lives under, from the path.
Implementations§
Source§impl AddDomainReq
impl AddDomainReq
pub fn new() -> AddDomainReq
Trait Implementations§
Source§impl Clone for AddDomainReq
impl Clone for AddDomainReq
Source§fn clone(&self) -> AddDomainReq
fn clone(&self) -> AddDomainReq
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddDomainReq
impl Debug for AddDomainReq
Source§impl Default for AddDomainReq
impl Default for AddDomainReq
Source§fn default() -> AddDomainReq
fn default() -> AddDomainReq
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddDomainReq
impl<'de> Deserialize<'de> for AddDomainReq
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 AddDomainReq
impl PartialEq for AddDomainReq
Source§impl Serialize for AddDomainReq
impl Serialize for AddDomainReq
impl StructuralPartialEq for AddDomainReq
Auto Trait Implementations§
impl Freeze for AddDomainReq
impl RefUnwindSafe for AddDomainReq
impl Send for AddDomainReq
impl Sync for AddDomainReq
impl Unpin for AddDomainReq
impl UnsafeUnpin for AddDomainReq
impl UnwindSafe for AddDomainReq
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