pub struct SourceIdentityV2 {
pub version: u16,
pub adapters: Vec<String>,
pub target_digest: Evidence<String>,
pub partition_digest: Evidence<String>,
}Expand description
Safe source adapter and target identity.
Fields§
§version: u16§adapters: Vec<String>§target_digest: Evidence<String>§partition_digest: Evidence<String>Implementations§
Source§impl SourceIdentityV2
impl SourceIdentityV2
Sourcepub fn capture(input: SourceIdentityInput<'_>) -> Self
pub fn capture(input: SourceIdentityInput<'_>) -> Self
Capture source identity while storing no paths, URLs, credentials, or target labels.
Trait Implementations§
Source§impl Clone for SourceIdentityV2
impl Clone for SourceIdentityV2
Source§fn clone(&self) -> SourceIdentityV2
fn clone(&self) -> SourceIdentityV2
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 SourceIdentityV2
impl Debug for SourceIdentityV2
Source§impl<'de> Deserialize<'de> for SourceIdentityV2
impl<'de> Deserialize<'de> for SourceIdentityV2
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 SourceIdentityV2
impl PartialEq for SourceIdentityV2
Source§impl Serialize for SourceIdentityV2
impl Serialize for SourceIdentityV2
impl StructuralPartialEq for SourceIdentityV2
Auto Trait Implementations§
impl Freeze for SourceIdentityV2
impl RefUnwindSafe for SourceIdentityV2
impl Send for SourceIdentityV2
impl Sync for SourceIdentityV2
impl Unpin for SourceIdentityV2
impl UnsafeUnpin for SourceIdentityV2
impl UnwindSafe for SourceIdentityV2
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