#[non_exhaustive]pub struct DomainMapping {
pub name: String,
pub id: String,
pub ssl_settings: Option<SslSettings>,
pub resource_records: Vec<ResourceRecord>,
/* private fields */
}Expand description
A domain serving an App Engine application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringFull path to the DomainMapping resource in the API. Example:
apps/myapp/domainMapping/example.com.
@OutputOnly
id: StringRelative name of the domain serving the application. Example:
example.com.
ssl_settings: Option<SslSettings>SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.
resource_records: Vec<ResourceRecord>The resource records required to configure this domain mapping. These records must be added to the domain’s DNS configuration in order to serve the application via this domain mapping.
@OutputOnly
Implementations§
Source§impl DomainMapping
impl DomainMapping
pub fn new() -> Self
Sourcepub fn set_ssl_settings<T>(self, v: T) -> Selfwhere
T: Into<SslSettings>,
pub fn set_ssl_settings<T>(self, v: T) -> Selfwhere
T: Into<SslSettings>,
Sets the value of ssl_settings.
Sourcepub fn set_or_clear_ssl_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<SslSettings>,
pub fn set_or_clear_ssl_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<SslSettings>,
Sets or clears the value of ssl_settings.
Sourcepub fn set_resource_records<T, V>(self, v: T) -> Self
pub fn set_resource_records<T, V>(self, v: T) -> Self
Sets the value of resource_records.
Trait Implementations§
Source§impl Clone for DomainMapping
impl Clone for DomainMapping
Source§fn clone(&self) -> DomainMapping
fn clone(&self) -> DomainMapping
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 DomainMapping
impl Debug for DomainMapping
Source§impl Default for DomainMapping
impl Default for DomainMapping
Source§fn default() -> DomainMapping
fn default() -> DomainMapping
Returns the “default value” for a type. Read more
Source§impl Message for DomainMapping
impl Message for DomainMapping
Source§impl PartialEq for DomainMapping
impl PartialEq for DomainMapping
impl StructuralPartialEq for DomainMapping
Auto Trait Implementations§
impl Freeze for DomainMapping
impl RefUnwindSafe for DomainMapping
impl Send for DomainMapping
impl Sync for DomainMapping
impl Unpin for DomainMapping
impl UnwindSafe for DomainMapping
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