pub struct WriteContextConfigInfo {
pub key_reuse_ttl: Option<i32>,
pub default_capsule_tags: Option<Vec<WriteContextClassifierTag>>,
pub required_hooks: Vec<WriteContextConfigInfoRequiredHooksInner>,
}Expand description
WriteContextConfigInfo : Information about write context config rules
Fields§
§key_reuse_ttl: Option<i32>Number of seconds for which the client may reuse a given encryption key for sealing multiple capsules
required_hooks: Vec<WriteContextConfigInfoRequiredHooksInner>Implementations§
source§impl WriteContextConfigInfo
impl WriteContextConfigInfo
sourcepub fn new(
required_hooks: Vec<WriteContextConfigInfoRequiredHooksInner>,
) -> WriteContextConfigInfo
pub fn new( required_hooks: Vec<WriteContextConfigInfoRequiredHooksInner>, ) -> WriteContextConfigInfo
Information about write context config rules
Trait Implementations§
source§impl Clone for WriteContextConfigInfo
impl Clone for WriteContextConfigInfo
source§fn clone(&self) -> WriteContextConfigInfo
fn clone(&self) -> WriteContextConfigInfo
Returns a copy 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 Debug for WriteContextConfigInfo
impl Debug for WriteContextConfigInfo
source§impl Default for WriteContextConfigInfo
impl Default for WriteContextConfigInfo
source§fn default() -> WriteContextConfigInfo
fn default() -> WriteContextConfigInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WriteContextConfigInfo
impl<'de> Deserialize<'de> for WriteContextConfigInfo
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 WriteContextConfigInfo
impl PartialEq for WriteContextConfigInfo
source§fn eq(&self, other: &WriteContextConfigInfo) -> bool
fn eq(&self, other: &WriteContextConfigInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WriteContextConfigInfo
impl Serialize for WriteContextConfigInfo
impl StructuralPartialEq for WriteContextConfigInfo
Auto Trait Implementations§
impl Freeze for WriteContextConfigInfo
impl RefUnwindSafe for WriteContextConfigInfo
impl Send for WriteContextConfigInfo
impl Sync for WriteContextConfigInfo
impl Unpin for WriteContextConfigInfo
impl UnwindSafe for WriteContextConfigInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)