Struct aws_sdk_cloudfront::input::GetCachePolicyInput
source · [−]#[non_exhaustive]pub struct GetCachePolicyInput { /* private fields */ }
Implementations
sourceimpl GetCachePolicyInput
impl GetCachePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCachePolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCachePolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetCachePolicy
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetCachePolicyInput
.
sourceimpl GetCachePolicyInput
impl GetCachePolicyInput
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The unique identifier for the cache policy. If the cache policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using ListDistributions
or GetDistribution
. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies
.
Trait Implementations
sourceimpl Clone for GetCachePolicyInput
impl Clone for GetCachePolicyInput
sourcefn clone(&self) -> GetCachePolicyInput
fn clone(&self) -> GetCachePolicyInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetCachePolicyInput
impl Debug for GetCachePolicyInput
sourceimpl PartialEq<GetCachePolicyInput> for GetCachePolicyInput
impl PartialEq<GetCachePolicyInput> for GetCachePolicyInput
sourcefn eq(&self, other: &GetCachePolicyInput) -> bool
fn eq(&self, other: &GetCachePolicyInput) -> bool
impl StructuralPartialEq for GetCachePolicyInput
Auto Trait Implementations
impl RefUnwindSafe for GetCachePolicyInput
impl Send for GetCachePolicyInput
impl Sync for GetCachePolicyInput
impl Unpin for GetCachePolicyInput
impl UnwindSafe for GetCachePolicyInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more