pub struct ArchivePolicy(pub u16);Expand description
Archive policy of an SNS topic
§Recommended Usage
Use the archive_policy! macro from rusty-cdk-macros for compile-time validation:
use rusty_cdk_core::wrappers::ArchivePolicy;
use rusty_cdk_macros::archive_policy;
let policy = archive_policy!(30);Tuple Fields§
§0: u16Trait Implementations§
Source§impl Clone for ArchivePolicy
impl Clone for ArchivePolicy
Source§fn clone(&self) -> ArchivePolicy
fn clone(&self) -> ArchivePolicy
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 moreAuto Trait Implementations§
impl Freeze for ArchivePolicy
impl RefUnwindSafe for ArchivePolicy
impl Send for ArchivePolicy
impl Sync for ArchivePolicy
impl Unpin for ArchivePolicy
impl UnwindSafe for ArchivePolicy
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