pub struct CapsuleOpenResponse {
pub decryption_key: String,
pub read_context_configuration: Box<CapsuleOpenResponseReadContextConfiguration>,
pub open_token: String,
pub capsule_tags: Vec<Tag>,
}Expand description
CapsuleOpenResponse : Contains key material for a capsule
Fields§
§decryption_key: Stringa CBOR encoded decryption key for the capsule
read_context_configuration: Box<CapsuleOpenResponseReadContextConfiguration>§open_token: StringA token used to tie requests together when creating and reading capsules.
the tags for this capsule
Implementations§
source§impl CapsuleOpenResponse
impl CapsuleOpenResponse
sourcepub fn new(
decryption_key: String,
read_context_configuration: CapsuleOpenResponseReadContextConfiguration,
open_token: String,
capsule_tags: Vec<Tag>,
) -> CapsuleOpenResponse
pub fn new( decryption_key: String, read_context_configuration: CapsuleOpenResponseReadContextConfiguration, open_token: String, capsule_tags: Vec<Tag>, ) -> CapsuleOpenResponse
Contains key material for a capsule
Trait Implementations§
source§impl Clone for CapsuleOpenResponse
impl Clone for CapsuleOpenResponse
source§fn clone(&self) -> CapsuleOpenResponse
fn clone(&self) -> CapsuleOpenResponse
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 CapsuleOpenResponse
impl Debug for CapsuleOpenResponse
source§impl Default for CapsuleOpenResponse
impl Default for CapsuleOpenResponse
source§fn default() -> CapsuleOpenResponse
fn default() -> CapsuleOpenResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CapsuleOpenResponse
impl<'de> Deserialize<'de> for CapsuleOpenResponse
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 CapsuleOpenResponse
impl PartialEq for CapsuleOpenResponse
source§fn eq(&self, other: &CapsuleOpenResponse) -> bool
fn eq(&self, other: &CapsuleOpenResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CapsuleOpenResponse
impl Serialize for CapsuleOpenResponse
impl StructuralPartialEq for CapsuleOpenResponse
Auto Trait Implementations§
impl Freeze for CapsuleOpenResponse
impl RefUnwindSafe for CapsuleOpenResponse
impl Send for CapsuleOpenResponse
impl Sync for CapsuleOpenResponse
impl Unpin for CapsuleOpenResponse
impl UnwindSafe for CapsuleOpenResponse
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)