pub struct FullPairRecord {
pub device_certificate: Vec<u8>,
pub host_certificate: Vec<u8>,
pub host_private_key: Vec<u8>,
pub root_certificate: Vec<u8>,
pub root_private_key: Vec<u8>,
pub host_id: String,
pub system_buid: String,
}Expand description
Full pair record data sent inside the lockdown Pair request.
All certificate and key fields are PEM-encoded, matching the format
that PairRecord::load() expects on disk.
Fields§
§device_certificate: Vec<u8>§host_certificate: Vec<u8>§host_private_key: Vec<u8>§root_certificate: Vec<u8>§root_private_key: Vec<u8>§host_id: String§system_buid: StringTrait Implementations§
Source§impl Clone for FullPairRecord
impl Clone for FullPairRecord
Source§fn clone(&self) -> FullPairRecord
fn clone(&self) -> FullPairRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FullPairRecord
impl Debug for FullPairRecord
Source§impl<'de> Deserialize<'de> for FullPairRecord
impl<'de> Deserialize<'de> for FullPairRecord
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
Auto Trait Implementations§
impl Freeze for FullPairRecord
impl RefUnwindSafe for FullPairRecord
impl Send for FullPairRecord
impl Sync for FullPairRecord
impl Unpin for FullPairRecord
impl UnsafeUnpin for FullPairRecord
impl UnwindSafe for FullPairRecord
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