pub struct AwsCloudFrontDistributionOriginItem {
pub domain_name: Option<String>,
pub id: Option<String>,
pub origin_path: Option<String>,
}
Expand description
A complex type that describes the Amazon S3 bucket, HTTP server (for example, a web server), Amazon Elemental MediaStore, or other server from which CloudFront gets your files.
Fields§
§domain_name: Option<String>
Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin.
id: Option<String>
A unique identifier for the origin or origin group.
origin_path: Option<String>
An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.
Trait Implementations§
Source§impl Clone for AwsCloudFrontDistributionOriginItem
impl Clone for AwsCloudFrontDistributionOriginItem
Source§fn clone(&self) -> AwsCloudFrontDistributionOriginItem
fn clone(&self) -> AwsCloudFrontDistributionOriginItem
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 Default for AwsCloudFrontDistributionOriginItem
impl Default for AwsCloudFrontDistributionOriginItem
Source§fn default() -> AwsCloudFrontDistributionOriginItem
fn default() -> AwsCloudFrontDistributionOriginItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsCloudFrontDistributionOriginItem
impl<'de> Deserialize<'de> for AwsCloudFrontDistributionOriginItem
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 AwsCloudFrontDistributionOriginItem
impl PartialEq for AwsCloudFrontDistributionOriginItem
Source§fn eq(&self, other: &AwsCloudFrontDistributionOriginItem) -> bool
fn eq(&self, other: &AwsCloudFrontDistributionOriginItem) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AwsCloudFrontDistributionOriginItem
Auto Trait Implementations§
impl Freeze for AwsCloudFrontDistributionOriginItem
impl RefUnwindSafe for AwsCloudFrontDistributionOriginItem
impl Send for AwsCloudFrontDistributionOriginItem
impl Sync for AwsCloudFrontDistributionOriginItem
impl Unpin for AwsCloudFrontDistributionOriginItem
impl UnwindSafe for AwsCloudFrontDistributionOriginItem
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