pub struct CreateCustomDomainBody {
pub cookie_domain: Option<String>,
pub cors_allowed_origins: Option<Vec<String>>,
pub cors_enabled: Option<bool>,
pub hostname: Option<String>,
}Expand description
CreateCustomDomainBody : Create Custom Hostname Request Body
Fields§
The domain where cookies will be set. Has to be a parent domain of the custom hostname to work.
cors_allowed_origins: Option<Vec<String>>CORS Allowed origins for the custom hostname.
cors_enabled: Option<bool>CORS Enabled for the custom hostname.
hostname: Option<String>The custom hostname where the API will be exposed.
Implementations§
source§impl CreateCustomDomainBody
impl CreateCustomDomainBody
sourcepub fn new() -> CreateCustomDomainBody
pub fn new() -> CreateCustomDomainBody
Create Custom Hostname Request Body
Trait Implementations§
source§impl Clone for CreateCustomDomainBody
impl Clone for CreateCustomDomainBody
source§fn clone(&self) -> CreateCustomDomainBody
fn clone(&self) -> CreateCustomDomainBody
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 CreateCustomDomainBody
impl Debug for CreateCustomDomainBody
source§impl Default for CreateCustomDomainBody
impl Default for CreateCustomDomainBody
source§impl<'de> Deserialize<'de> for CreateCustomDomainBody
impl<'de> Deserialize<'de> for CreateCustomDomainBody
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<CreateCustomDomainBody> for CreateCustomDomainBody
impl PartialEq<CreateCustomDomainBody> for CreateCustomDomainBody
source§fn eq(&self, other: &CreateCustomDomainBody) -> bool
fn eq(&self, other: &CreateCustomDomainBody) -> bool
This method tests for
self and other values to be equal, and is used
by ==.