pub struct SetCustomDomainBody {
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
SetCustomDomainBody : Update Custom Hostname 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 custom UI base URL where the UI will be exposed.
hostname: Option<String>The custom hostname where the API will be exposed.
Implementations§
source§impl SetCustomDomainBody
impl SetCustomDomainBody
sourcepub fn new() -> SetCustomDomainBody
pub fn new() -> SetCustomDomainBody
Update Custom Hostname Body
Trait Implementations§
source§impl Clone for SetCustomDomainBody
impl Clone for SetCustomDomainBody
source§fn clone(&self) -> SetCustomDomainBody
fn clone(&self) -> SetCustomDomainBody
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 SetCustomDomainBody
impl Debug for SetCustomDomainBody
source§impl Default for SetCustomDomainBody
impl Default for SetCustomDomainBody
source§impl<'de> Deserialize<'de> for SetCustomDomainBody
impl<'de> Deserialize<'de> for SetCustomDomainBody
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<SetCustomDomainBody> for SetCustomDomainBody
impl PartialEq<SetCustomDomainBody> for SetCustomDomainBody
source§fn eq(&self, other: &SetCustomDomainBody) -> bool
fn eq(&self, other: &SetCustomDomainBody) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SetCustomDomainBody
impl Serialize for SetCustomDomainBody
impl StructuralPartialEq for SetCustomDomainBody
Auto Trait Implementations§
impl RefUnwindSafe for SetCustomDomainBody
impl Send for SetCustomDomainBody
impl Sync for SetCustomDomainBody
impl Unpin for SetCustomDomainBody
impl UnwindSafe for SetCustomDomainBody
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