pub struct DomainForwarding {
pub path_forwarding: Option<bool>,
pub pem_certificate: Option<String>,
pub redirect_type: Option<String>,
pub ssl_enabled: Option<bool>,
pub subdomain: Option<String>,
pub target_uri: Option<String>,
}Expand description
Domain forwarding configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§path_forwarding: Option<bool>If true, forwards the path after the domain name to the same path at the new address.
pem_certificate: Option<String>The PEM-encoded certificate chain.
redirect_type: Option<String>The redirect type.
ssl_enabled: Option<bool>If true, the forwarding works also over HTTPS.
subdomain: Option<String>The subdomain of the registered domain that is being forwarded. E.g. www.example.com, example.com (i.e. the registered domain itself) or *.example.com (i.e. all subdomains).
target_uri: Option<String>The target of the domain forwarding, i.e. the path to redirect the subdomain to.
Trait Implementations§
Source§impl Clone for DomainForwarding
impl Clone for DomainForwarding
Source§fn clone(&self) -> DomainForwarding
fn clone(&self) -> DomainForwarding
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 DomainForwarding
impl Debug for DomainForwarding
Source§impl Default for DomainForwarding
impl Default for DomainForwarding
Source§fn default() -> DomainForwarding
fn default() -> DomainForwarding
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DomainForwarding
impl<'de> Deserialize<'de> for DomainForwarding
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 Serialize for DomainForwarding
impl Serialize for DomainForwarding
impl Part for DomainForwarding
Auto Trait Implementations§
impl Freeze for DomainForwarding
impl RefUnwindSafe for DomainForwarding
impl Send for DomainForwarding
impl Sync for DomainForwarding
impl Unpin for DomainForwarding
impl UnwindSafe for DomainForwarding
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