pub struct CreateCustomDomainBody {
pub cookie_domain: Option<String>,
pub cors_allowed_origins: Option<Vec<String>>,
pub cors_enabled: Option<bool>,
pub custom_ui_base_url: Option<String>,
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.
custom_ui_base_url: Option<String>The base URL where the custom user interface will be exposed.
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 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 CreateCustomDomainBody
impl Debug for CreateCustomDomainBody
Source§impl Default for CreateCustomDomainBody
impl Default for CreateCustomDomainBody
Source§fn default() -> CreateCustomDomainBody
fn default() -> CreateCustomDomainBody
Returns the “default value” for a type. Read more
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 for CreateCustomDomainBody
impl PartialEq for CreateCustomDomainBody
Source§impl Serialize for CreateCustomDomainBody
impl Serialize for CreateCustomDomainBody
impl StructuralPartialEq for CreateCustomDomainBody
Auto Trait Implementations§
impl Freeze for CreateCustomDomainBody
impl RefUnwindSafe for CreateCustomDomainBody
impl Send for CreateCustomDomainBody
impl Sync for CreateCustomDomainBody
impl Unpin for CreateCustomDomainBody
impl UnwindSafe for CreateCustomDomainBody
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