pub struct DefaultCacheBehavior {Show 19 fields
pub target_origin_id: String,
pub trusted_signers: Option<TrustedSigners>,
pub trusted_key_groups: Option<TrustedKeyGroups>,
pub viewer_protocol_policy: String,
pub allowed_methods: Option<AllowedMethods>,
pub smooth_streaming: Option<bool>,
pub compress: Option<bool>,
pub lambda_function_associations: Option<LambdaFunctionAssociations>,
pub function_associations: Option<FunctionAssociations>,
pub field_level_encryption_id: Option<String>,
pub realtime_log_config_arn: Option<String>,
pub cache_policy_id: Option<String>,
pub origin_request_policy_id: Option<String>,
pub response_headers_policy_id: Option<String>,
pub grpc_config: Option<GrpcConfig>,
pub forwarded_values: Option<ForwardedValues>,
pub min_ttl: Option<i64>,
pub default_ttl: Option<i64>,
pub max_ttl: Option<i64>,
}Fields§
§target_origin_id: String§trusted_signers: Option<TrustedSigners>§trusted_key_groups: Option<TrustedKeyGroups>§viewer_protocol_policy: String§allowed_methods: Option<AllowedMethods>§smooth_streaming: Option<bool>§compress: Option<bool>§lambda_function_associations: Option<LambdaFunctionAssociations>§function_associations: Option<FunctionAssociations>§field_level_encryption_id: Option<String>§realtime_log_config_arn: Option<String>§cache_policy_id: Option<String>§origin_request_policy_id: Option<String>§response_headers_policy_id: Option<String>§grpc_config: Option<GrpcConfig>§forwarded_values: Option<ForwardedValues>§min_ttl: Option<i64>§default_ttl: Option<i64>§max_ttl: Option<i64>Trait Implementations§
Source§impl Clone for DefaultCacheBehavior
impl Clone for DefaultCacheBehavior
Source§fn clone(&self) -> DefaultCacheBehavior
fn clone(&self) -> DefaultCacheBehavior
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DefaultCacheBehavior
impl Debug for DefaultCacheBehavior
Source§impl Default for DefaultCacheBehavior
impl Default for DefaultCacheBehavior
Source§fn default() -> DefaultCacheBehavior
fn default() -> DefaultCacheBehavior
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DefaultCacheBehavior
impl<'de> Deserialize<'de> for DefaultCacheBehavior
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
Auto Trait Implementations§
impl Freeze for DefaultCacheBehavior
impl RefUnwindSafe for DefaultCacheBehavior
impl Send for DefaultCacheBehavior
impl Sync for DefaultCacheBehavior
impl Unpin for DefaultCacheBehavior
impl UnsafeUnpin for DefaultCacheBehavior
impl UnwindSafe for DefaultCacheBehavior
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