pub struct RetentionChoice<'a> {
pub lifetime_ms: u64,
pub content: Content<'a>,
pub host_cap_ms: Option<u64>,
}Expand description
The host’s explicit retention choice for one bundle.
Fields§
§lifetime_ms: u64From creation; every item expires with the bundle.
content: Content<'a>§host_cap_ms: Option<u64>A cap tighter than the hard 30 days.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RetentionChoice<'a>
impl<'a> !Send for RetentionChoice<'a>
impl<'a> !Sync for RetentionChoice<'a>
impl<'a> !UnwindSafe for RetentionChoice<'a>
impl<'a> Freeze for RetentionChoice<'a>
impl<'a> Unpin for RetentionChoice<'a>
impl<'a> UnsafeUnpin for RetentionChoice<'a>
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