Struct sequoia_openpgp::cert::amalgamation::ComponentAmalgamation
source · pub struct ComponentAmalgamation<'a, C> { /* private fields */ }
Expand description
A certificate component, its associated data, and useful methods.
Cert::userids
, ValidCert::primary_userid
, Cert::user_attributes
, and
Cert::unknowns
return ComponentAmalgamation
s.
ComponentAmalgamation
implements ValidateAmalgamation
, which
allows you to turn a ComponentAmalgamation
into a
ValidComponentAmalgamation
using
ComponentAmalgamation::with_policy
.
See the module’s documentation for more details.
§Examples
// Iterate over all User IDs.
for ua in cert.userids() {
// ua is a `ComponentAmalgamation`, specifically, a `UserIDAmalgamation`.
}
Implementations§
source§impl<'a, P, R> ComponentAmalgamation<'a, Key<P, R>>
impl<'a, P, R> ComponentAmalgamation<'a, Key<P, R>>
sourcepub fn parts_into_public(self) -> ComponentAmalgamation<'a, Key<PublicParts, R>>
pub fn parts_into_public(self) -> ComponentAmalgamation<'a, Key<PublicParts, R>>
Changes the key’s parts tag to PublicParts
.
sourcepub fn parts_as_public(
&'a self,
) -> &'a ComponentAmalgamation<'a, Key<PublicParts, R>>
pub fn parts_as_public( &'a self, ) -> &'a ComponentAmalgamation<'a, Key<PublicParts, R>>
Changes the key’s parts tag to PublicParts
.
sourcepub fn parts_as_public_mut(
&'a mut self,
) -> &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>
pub fn parts_as_public_mut( &'a mut self, ) -> &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>
Changes the key’s parts tag to PublicParts
.
sourcepub fn parts_into_secret(
self,
) -> Result<ComponentAmalgamation<'a, Key<SecretParts, R>>>
pub fn parts_into_secret( self, ) -> Result<ComponentAmalgamation<'a, Key<SecretParts, R>>>
Changes the key’s parts tag to SecretParts
.
sourcepub fn parts_as_secret(
&'a self,
) -> Result<&'a ComponentAmalgamation<'a, Key<SecretParts, R>>>
pub fn parts_as_secret( &'a self, ) -> Result<&'a ComponentAmalgamation<'a, Key<SecretParts, R>>>
Changes the key’s parts tag to SecretParts
.
sourcepub fn parts_as_secret_mut(
&'a mut self,
) -> Result<&'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>>
pub fn parts_as_secret_mut( &'a mut self, ) -> Result<&'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>>
Changes the key’s parts tag to SecretParts
.
sourcepub fn parts_into_unspecified(
self,
) -> ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
pub fn parts_into_unspecified( self, ) -> ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
Changes the key’s parts tag to UnspecifiedParts
.
sourcepub fn parts_as_unspecified(
&'a self,
) -> &ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
pub fn parts_as_unspecified( &'a self, ) -> &ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
Changes the key’s parts tag to UnspecifiedParts
.
sourcepub fn parts_as_unspecified_mut(
&'a mut self,
) -> &mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
pub fn parts_as_unspecified_mut( &'a mut self, ) -> &mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>
Changes the key’s parts tag to UnspecifiedParts
.
source§impl<'a, P, R> ComponentAmalgamation<'a, Key<P, R>>
impl<'a, P, R> ComponentAmalgamation<'a, Key<P, R>>
sourcepub fn role_into_primary(self) -> ComponentAmalgamation<'a, Key<P, PrimaryRole>>
pub fn role_into_primary(self) -> ComponentAmalgamation<'a, Key<P, PrimaryRole>>
Changes the key’s role tag to PrimaryRole
.
sourcepub fn role_as_primary(
&'a self,
) -> &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>
pub fn role_as_primary( &'a self, ) -> &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>
Changes the key’s role tag to PrimaryRole
.
sourcepub fn role_as_primary_mut(
&'a mut self,
) -> &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>
pub fn role_as_primary_mut( &'a mut self, ) -> &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>
Changes the key’s role tag to PrimaryRole
.
sourcepub fn role_into_subordinate(
self,
) -> ComponentAmalgamation<'a, Key<P, SubordinateRole>>
pub fn role_into_subordinate( self, ) -> ComponentAmalgamation<'a, Key<P, SubordinateRole>>
Changes the key’s role tag to SubordinateRole
.
sourcepub fn role_as_subordinate(
&'a self,
) -> &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>
pub fn role_as_subordinate( &'a self, ) -> &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>
Changes the key’s role tag to SubordinateRole
.
sourcepub fn role_as_subordinate_mut(
&'a mut self,
) -> &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>
pub fn role_as_subordinate_mut( &'a mut self, ) -> &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>
Changes the key’s role tag to SubordinateRole
.
sourcepub fn role_into_unspecified(
self,
) -> ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>
pub fn role_into_unspecified( self, ) -> ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>
Changes the key’s role tag to UnspecifiedRole
.
sourcepub fn role_as_unspecified(
&'a self,
) -> &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>
pub fn role_as_unspecified( &'a self, ) -> &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>
Changes the key’s role tag to UnspecifiedRole
.
sourcepub fn role_as_unspecified_mut(
&'a mut self,
) -> &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>
pub fn role_as_unspecified_mut( &'a mut self, ) -> &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>
Changes the key’s role tag to UnspecifiedRole
.
source§impl<'a, C> ComponentAmalgamation<'a, C>
impl<'a, C> ComponentAmalgamation<'a, C>
sourcepub fn cert(&self) -> &'a Cert
pub fn cert(&self) -> &'a Cert
Returns the component’s associated certificate.
for u in cert.userids() {
// It's not only an identical `Cert`, it's the same one.
assert!(std::ptr::eq(u.cert(), &cert));
}
sourcepub fn bundle(&self) -> &'a ComponentBundle<C>
pub fn bundle(&self) -> &'a ComponentBundle<C>
Returns this amalgamation’s bundle.
Note: although ComponentAmalgamation
derefs to a
&ComponentBundle
, this method provides a more accurate
lifetime, which is helpful when returning the reference from a
function. See the module’s documentation for more details.
§Examples
use openpgp::cert::prelude::*;
use openpgp::packet::prelude::*;
cert.userids()
.map(|ua| {
// The following doesn't work:
//
// let b: &ComponentBundle<_> = &ua; b
//
// Because ua's lifetime is this closure and autoderef
// assigns `b` the same lifetime as `ua`. `bundle()`,
// however, returns a reference whose lifetime is that
// of `cert`.
ua.bundle()
})
.collect::<Vec<&ComponentBundle<_>>>();
sourcepub fn component(&self) -> &'a C
pub fn component(&self) -> &'a C
Returns this amalgamation’s component.
Note: although ComponentAmalgamation
derefs to a
&Component
(via &ComponentBundle
), this method provides a
more accurate lifetime, which is helpful when returning the
reference from a function. See the module’s documentation
for more details.
sourcepub fn self_signatures(
&self,
) -> impl Iterator<Item = &'a Signature> + Send + Sync
pub fn self_signatures( &self, ) -> impl Iterator<Item = &'a Signature> + Send + Sync
The component’s self-signatures.
sourcepub fn certifications(
&self,
) -> impl Iterator<Item = &'a Signature> + Send + Sync
pub fn certifications( &self, ) -> impl Iterator<Item = &'a Signature> + Send + Sync
The component’s third-party certifications.
sourcepub fn certifications_by_key<'b>(
&'b self,
issuers: &'b [KeyHandle],
) -> impl Iterator<Item = &'a Signature> + Send + Sync + 'b
pub fn certifications_by_key<'b>( &'b self, issuers: &'b [KeyHandle], ) -> impl Iterator<Item = &'a Signature> + Send + Sync + 'b
Returns third-party certifications that appear to issued by any of the specified keys.
A certification is returned if one of the provided key handles matches an Issuer subpacket or Issuer Fingerprint subpacket in the certification.
This function does not check that a certification is valid.
It can’t. To check that a certification was actually issued
by a specific key, we also need a policy and the public key,
which we don’t have. To only get valid certifications, use
UserIDAmalgamation::valid_certifications_by_key
or
UserIDAmalgamation::active_certifications_by_key
instead
of this function.
sourcepub fn self_revocations(
&self,
) -> impl Iterator<Item = &'a Signature> + Send + Sync
pub fn self_revocations( &self, ) -> impl Iterator<Item = &'a Signature> + Send + Sync
The component’s revocations that were issued by the certificate holder.
source§impl<'a> ComponentAmalgamation<'a, UserID>
impl<'a> ComponentAmalgamation<'a, UserID>
sourcepub fn userid(&self) -> &'a UserID
pub fn userid(&self) -> &'a UserID
Returns a reference to the User ID.
Note: although ComponentAmalgamation<UserID>
derefs to a
&UserID
(via &ComponentBundle
), this method provides a
more accurate lifetime, which is helpful when returning the
reference from a function. See the module’s documentation
for more details.
sourcepub fn valid_certifications_by_key<T, PK>(
&self,
policy: &'a dyn Policy,
reference_time: T,
issuer: PK,
) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn valid_certifications_by_key<T, PK>( &self, policy: &'a dyn Policy, reference_time: T, issuer: PK, ) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the third-party certifications issued by the specified key, and valid at the specified time.
This function returns the certifications issued by the specified key. Specifically, it returns a certification if:
- it is well formed,
- it is live with respect to the reference time,
- it conforms to the policy, and
- the signature is cryptographically valid.
This method is implemented on a UserIDAmalgamation
and not
a ValidUserIDAmalgamation
, because a third-party
certification does not require the user ID to be self signed.
§Examples
Alice has certified that a certificate belongs to Bob on two
occasions. Whereas
UserIDAmalgamation::valid_certifications_by_key
returns
both certifications,
UserIDAmalgamation::active_certifications_by_key
only
returns the most recent certification.
use sequoia_openpgp as openpgp;
use openpgp::cert::prelude::*;
use openpgp::policy::StandardPolicy;
const P: &StandardPolicy = &StandardPolicy::new();
let alice: Cert = // ...
let bob: Cert = // ...
let ua = bob.userids().next().expect("have user id");
let valid_certifications = ua.valid_certifications_by_key(
P, None, alice.primary_key().key());
// Alice certified Bob's certificate twice.
assert_eq!(valid_certifications.count(), 2);
let active_certifications = ua.active_certifications_by_key(
P, None, alice.primary_key().key());
// But only the most recent one is active.
assert_eq!(active_certifications.count(), 1);
sourcepub fn active_certifications_by_key<T, PK>(
&self,
policy: &'a dyn Policy,
reference_time: T,
issuer: PK,
) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn active_certifications_by_key<T, PK>( &self, policy: &'a dyn Policy, reference_time: T, issuer: PK, ) -> impl Iterator<Item = &Signature> + Send + Sync
Returns any active third-party certifications issued by the specified key.
This function is like
UserIDAmalgamation::valid_certifications_by_key
, but it
only returns active certifications. Active certifications are
the most recent valid certifications with respect to the
reference time.
Although there is normally only a single active certification, there can be multiple certifications with the same timestamp. In this case, all of them are returned.
Unlike self-signatures, multiple third-party certifications issued by the same key at the same time can be sensible. For instance, Alice may fully trust a CA for user IDs in a particular domain, and partially trust it for everything else. This can only be expressed using multiple certifications.
This method is implemented on a UserIDAmalgamation
and not
a ValidUserIDAmalgamation
, because a third-party
certification does not require the user ID to be self signed.
§Examples
See the examples for
UserIDAmalgamation::valid_certifications_by_key
.
sourcepub fn valid_third_party_revocations_by_key<T, PK>(
&self,
policy: &'a dyn Policy,
reference_time: T,
issuer: PK,
) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn valid_third_party_revocations_by_key<T, PK>( &self, policy: &'a dyn Policy, reference_time: T, issuer: PK, ) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the third-party revocations issued by the specified key, and valid at the specified time.
This function returns the revocations issued by the specified key. Specifically, it returns a revocation if:
- it is well formed,
- it is live with respect to the reference time,
- it conforms to the policy, and
- the signature is cryptographically valid.
This method is implemented on a UserIDAmalgamation
and not
a ValidUserIDAmalgamation
, because a third-party
revocation does not require the user ID to be self signed.
§Examples
Alice revokes a user ID on Bob’s certificate.
use sequoia_openpgp as openpgp;
use openpgp::cert::prelude::*;
use openpgp::policy::StandardPolicy;
const P: &StandardPolicy = &StandardPolicy::new();
let alice: Cert = // ...
let bob: Cert = // ...
let ua = bob.userids().next().expect("have user id");
let revs = ua.valid_third_party_revocations_by_key(
P, None, alice.primary_key().key());
// Alice revoked the User ID.
assert_eq!(revs.count(), 1);
sourcepub fn attest_certifications2<T, C, S>(
&self,
policy: &dyn Policy,
time: T,
primary_signer: &mut dyn Signer,
certifications: C,
) -> Result<Vec<Signature>>
pub fn attest_certifications2<T, C, S>( &self, policy: &dyn Policy, time: T, primary_signer: &mut dyn Signer, certifications: C, ) -> Result<Vec<Signature>>
Attests to third-party certifications.
This feature is experimental.
Allows the certificate owner to attest to third party certifications. See draft-dkg-openpgp-1pa3pc for details. This can be used to address certificate flooding concerns.
A policy is needed, because the expiration is updated by updating the current binding signatures.
§Examples
let (alice, _) = CertBuilder::new()
.add_userid("alice@example.org")
.generate()?;
let mut alice_signer =
alice.primary_key().key().clone().parts_into_secret()?
.into_keypair()?;
let (bob, _) = CertBuilder::new()
.add_userid("bob@example.org")
.generate()?;
let mut bob_signer =
bob.primary_key().key().clone().parts_into_secret()?
.into_keypair()?;
let bob_pristine = bob.clone();
// Have Alice certify the binding between "bob@example.org" and
// Bob's key.
let alice_certifies_bob
= bob.userids().next().unwrap().userid().bind(
&mut alice_signer, &bob,
SignatureBuilder::new(SignatureType::GenericCertification))?;
let bob = bob.insert_packets(vec![alice_certifies_bob.clone()])?;
// Have Bob attest that certification.
let bobs_uid = bob.userids().next().unwrap();
let attestations =
bobs_uid.attest_certifications2(
policy,
None,
&mut bob_signer,
bobs_uid.certifications())?;
let bob = bob.insert_packets(attestations)?;
assert_eq!(bob.bad_signatures().count(), 0);
assert_eq!(bob.userids().next().unwrap().certifications().next(),
Some(&alice_certifies_bob));
sourcepub fn attest_certifications<C, S>(
&self,
policy: &dyn Policy,
primary_signer: &mut dyn Signer,
certifications: C,
) -> Result<Vec<Signature>>
👎Deprecated: Use attest_certifications2 instead.
pub fn attest_certifications<C, S>( &self, policy: &dyn Policy, primary_signer: &mut dyn Signer, certifications: C, ) -> Result<Vec<Signature>>
Attests to third-party certifications.
This feature is experimental.
This function is deprecated in favor of
UserIDAmalgamation::attest_certifications2
, which includes
a reference time parameter.
source§impl<'a> ComponentAmalgamation<'a, UserAttribute>
impl<'a> ComponentAmalgamation<'a, UserAttribute>
sourcepub fn user_attribute(&self) -> &'a UserAttribute
pub fn user_attribute(&self) -> &'a UserAttribute
Returns a reference to the User Attribute.
Note: although ComponentAmalgamation<UserAttribute>
derefs
to a &UserAttribute
(via &ComponentBundle
), this method
provides a more accurate lifetime, which is helpful when
returning the reference from a function. See the module’s
documentation for more details.
sourcepub fn attest_certifications2<T, C, S>(
&self,
policy: &dyn Policy,
time: T,
primary_signer: &mut dyn Signer,
certifications: C,
) -> Result<Vec<Signature>>
pub fn attest_certifications2<T, C, S>( &self, policy: &dyn Policy, time: T, primary_signer: &mut dyn Signer, certifications: C, ) -> Result<Vec<Signature>>
Attests to third-party certifications.
This feature is experimental.
Allows the certificate owner to attest to third party certifications. See Section 5.2.3.30 of RFC 4880bis for details. This can be used to address certificate flooding concerns.
A policy is needed, because the expiration is updated by updating the current binding signatures.
§Examples
sourcepub fn attest_certifications<C, S>(
&self,
policy: &dyn Policy,
primary_signer: &mut dyn Signer,
certifications: C,
) -> Result<Vec<Signature>>
👎Deprecated: Use attest_certifications2 instead.
pub fn attest_certifications<C, S>( &self, policy: &dyn Policy, primary_signer: &mut dyn Signer, certifications: C, ) -> Result<Vec<Signature>>
Attests to third-party certifications.
This feature is experimental.
This function is deprecated in favor of
UserAttributeAmalgamation::attest_certifications2
, which
includes a reference time parameter.
Methods from Deref<Target = ComponentBundle<C>>§
sourcepub fn parts_as_public(&self) -> &KeyBundle<PublicParts, R>
pub fn parts_as_public(&self) -> &KeyBundle<PublicParts, R>
Changes the key’s parts tag to PublicParts
.
sourcepub fn parts_as_secret(&self) -> Result<&KeyBundle<SecretParts, R>>
pub fn parts_as_secret(&self) -> Result<&KeyBundle<SecretParts, R>>
Changes the key’s parts tag to SecretParts
.
sourcepub fn parts_as_unspecified(&self) -> &KeyBundle<UnspecifiedParts, R>
pub fn parts_as_unspecified(&self) -> &KeyBundle<UnspecifiedParts, R>
Changes the key’s parts tag to UnspecifiedParts
.
sourcepub fn role_as_primary(&self) -> &KeyBundle<P, PrimaryRole>
pub fn role_as_primary(&self) -> &KeyBundle<P, PrimaryRole>
Changes the key’s role tag to PrimaryRole
.
sourcepub fn role_as_subordinate(&self) -> &KeyBundle<P, SubordinateRole>
pub fn role_as_subordinate(&self) -> &KeyBundle<P, SubordinateRole>
Changes the key’s role tag to SubordinateRole
.
sourcepub fn role_as_unspecified(&self) -> &KeyBundle<P, UnspecifiedRole>
pub fn role_as_unspecified(&self) -> &KeyBundle<P, UnspecifiedRole>
Changes the key’s role tag to UnspecifiedRole
.
sourcepub fn component(&self) -> &C
pub fn component(&self) -> &C
Returns a reference to the bundle’s component.
§Examples
// Display some information about any unknown components.
for u in cert.unknowns() {
eprintln!(" - {:?}", u.component());
}
sourcepub fn binding_signature<T>(
&self,
policy: &dyn Policy,
t: T,
) -> Result<&Signature>
pub fn binding_signature<T>( &self, policy: &dyn Policy, t: T, ) -> Result<&Signature>
Returns the active binding signature at time t
.
The active binding signature is the most recent, non-revoked
self-signature that is valid according to the policy
and
alive at time t
(creation time <= t
, t < expiry
). If
there are multiple such signatures then the signatures are
ordered by their MPIs interpreted as byte strings.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
// Display information about each User ID's current active
// binding signature (the `time` parameter is `None`), if any.
for ua in cert.userids() {
eprintln!("{:?}", ua.binding_signature(p, None));
}
sourcepub fn self_signatures2(&self) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn self_signatures2(&self) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the component’s self-signatures.
The signatures are validated, and they are sorted by their creation time, most recent first.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for (i, ka) in cert.keys().enumerate() {
eprintln!("Key #{} ({}) has {:?} self signatures",
i, ka.fingerprint(),
ka.bundle().self_signatures2().count());
}
sourcepub fn self_signatures(&self) -> &[Signature]
👎Deprecated: Use self_signatures2 instead.
pub fn self_signatures(&self) -> &[Signature]
Returns the component’s self-signatures.
sourcepub fn certifications2(&self) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn certifications2(&self) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the component’s third-party certifications.
The signatures are not validated. They are sorted by their creation time, most recent first.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for ua in cert.userids() {
eprintln!("User ID {} has {:?} unverified, third-party certifications",
String::from_utf8_lossy(ua.userid().value()),
ua.bundle().certifications2().count());
}
sourcepub fn certifications(&self) -> &[Signature]
👎Deprecated: Use certifications2 instead.
pub fn certifications(&self) -> &[Signature]
Returns the component’s third-party certifications.
sourcepub fn self_revocations2(
&self,
) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn self_revocations2( &self, ) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the component’s revocations that were issued by the certificate holder.
The revocations are validated, and they are sorted by their creation time, most recent first.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for u in cert.userids() {
eprintln!("User ID {} has {:?} revocation certificates.",
String::from_utf8_lossy(u.userid().value()),
u.bundle().self_revocations2().count());
}
sourcepub fn self_revocations(&self) -> &[Signature]
👎Deprecated: Use self_revocations2 instead.
pub fn self_revocations(&self) -> &[Signature]
Returns the component’s revocations that were issued by the certificate holder.
sourcepub fn other_revocations2(
&self,
) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn other_revocations2( &self, ) -> impl Iterator<Item = &Signature> + Send + Sync
Returns the component’s revocations that were issued by other certificates.
The revocations are not validated. They are sorted by their creation time, most recent first.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for u in cert.userids() {
eprintln!("User ID {} has {:?} unverified, third-party revocation certificates.",
String::from_utf8_lossy(u.userid().value()),
u.bundle().other_revocations2().count());
}
sourcepub fn other_revocations(&self) -> &[Signature]
👎Deprecated: Use other_revocations2 instead.
pub fn other_revocations(&self) -> &[Signature]
Returns the component’s revocations that were issued by other certificates.
sourcepub fn attestations(&self) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn attestations(&self) -> impl Iterator<Item = &Signature> + Send + Sync
Returns all of the component’s Attestation Key Signatures.
This feature is experimental.
The signatures are validated, and they are sorted by their creation time, most recent first.
A certificate owner can use Attestation Key Signatures to attest to third party certifications. Currently, only userid and user attribute certifications can be attested. See Section 5.2.3.30 of RFC 4880bis for details.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for (i, uid) in cert.userids().enumerate() {
eprintln!("UserID #{} ({:?}) has {:?} attestation key signatures",
i, uid.email(),
uid.attestations().count());
}
sourcepub fn signatures(&self) -> impl Iterator<Item = &Signature> + Send + Sync
pub fn signatures(&self) -> impl Iterator<Item = &Signature> + Send + Sync
Returns all of the component’s signatures.
Only the self-signatures are validated. The signatures are sorted first by type, then by creation time. The self revocations come first, then the self signatures, then any key attestation signatures, certifications, and third-party revocations coming last. This function may return additional types of signatures that could be associated to this component.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
for (i, ka) in cert.keys().enumerate() {
eprintln!("Key #{} ({}) has {:?} signatures",
i, ka.fingerprint(),
ka.signatures().count());
}
sourcepub fn key(&self) -> &Key<P, R>
pub fn key(&self) -> &Key<P, R>
Returns a reference to the key.
This is just a type-specific alias for
ComponentBundle::component
.
§Examples
// Display some information about the keys.
for ka in cert.keys() {
eprintln!(" - {:?}", ka.key());
}
sourcepub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T,
) -> RevocationStatus<'_>
pub fn revocation_status<T>( &self, policy: &dyn Policy, t: T, ) -> RevocationStatus<'_>
Returns the subkey’s revocation status at time t
.
A subkey is revoked at time t
if:
-
There is a live revocation at time
t
that is newer than all live self signatures at timet
, or -
There is a hard revocation (even if it is not live at time
t
, and even if there is a newer self-signature).
Note: Certs and subkeys have different criteria from User IDs and User Attributes.
Note: this only returns whether this subkey is revoked; it does not imply anything about the Cert or other components.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
// Display the subkeys' revocation status.
for ka in cert.keys().subkeys() {
eprintln!(" Revocation status of {}: {:?}",
ka.fingerprint(), ka.revocation_status(p, None));
}
sourcepub fn userid(&self) -> &UserID
pub fn userid(&self) -> &UserID
Returns a reference to the User ID.
This is just a type-specific alias for
ComponentBundle::component
.
§Examples
// Display some information about the User IDs.
for ua in cert.userids() {
eprintln!(" - {:?}", ua.userid());
}
sourcepub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T,
) -> RevocationStatus<'_>
pub fn revocation_status<T>( &self, policy: &dyn Policy, t: T, ) -> RevocationStatus<'_>
Returns the User ID’s revocation status at time t
.
A User ID is revoked at time t
if:
- There is a live revocation at time
t
that is newer than all live self signatures at timet
.
Note: Certs and subkeys have different criteria from User IDs and User Attributes.
Note: this only returns whether this User ID is revoked; it does not imply anything about the Cert or other components.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
// Display the User IDs' revocation status.
for ua in cert.userids() {
eprintln!(" Revocation status of {}: {:?}",
String::from_utf8_lossy(ua.userid().value()),
ua.revocation_status(p, None));
}
sourcepub fn user_attribute(&self) -> &UserAttribute
pub fn user_attribute(&self) -> &UserAttribute
Returns a reference to the User Attribute.
This is just a type-specific alias for
ComponentBundle::component
.
§Examples
// Display some information about the User Attributes
for ua in cert.user_attributes() {
eprintln!(" - {:?}", ua.user_attribute());
}
sourcepub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T,
) -> RevocationStatus<'_>
pub fn revocation_status<T>( &self, policy: &dyn Policy, t: T, ) -> RevocationStatus<'_>
Returns the User Attribute’s revocation status at time t
.
A User Attribute is revoked at time t
if:
- There is a live revocation at time
t
that is newer than all live self signatures at timet
.
Note: Certs and subkeys have different criteria from User IDs and User Attributes.
Note: this only returns whether this User Attribute is revoked; it does not imply anything about the Cert or other components.
§Examples
use openpgp::policy::StandardPolicy;
let p = &StandardPolicy::new();
// Display the User Attributes' revocation status.
for (i, ua) in cert.user_attributes().enumerate() {
eprintln!(" Revocation status of User Attribute #{}: {:?}",
i, ua.revocation_status(p, None));
}
sourcepub fn unknown(&self) -> &Unknown
pub fn unknown(&self) -> &Unknown
Returns a reference to the unknown component.
This is just a type-specific alias for
ComponentBundle::component
.
§Examples
// Display some information about the User Attributes
for u in cert.unknowns() {
eprintln!(" - {:?}", u.unknown());
}
Trait Implementations§
source§impl<'a, C> Clone for ComponentAmalgamation<'a, C>
impl<'a, C> Clone for ComponentAmalgamation<'a, C>
source§impl<'a, C: Debug> Debug for ComponentAmalgamation<'a, C>
impl<'a, C: Debug> Debug for ComponentAmalgamation<'a, C>
source§impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
source§impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
source§impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
source§impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
source§impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
source§impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
impl<'a, P> From<&'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(p: &'a ComponentAmalgamation<'_, Key<PublicParts, PrimaryRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'_, Key<PublicParts, PrimaryRole>>) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(p: &'a ComponentAmalgamation<'_, Key<PublicParts, PrimaryRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'_, Key<PublicParts, PrimaryRole>>) -> Self
source§impl<'a, R> From<&'a ComponentAmalgamation<'a, Key<PublicParts, R>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
impl<'a, R> From<&'a ComponentAmalgamation<'a, Key<PublicParts, R>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<PublicParts, R>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<PublicParts, R>>) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<PublicParts, SubordinateRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<PublicParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<PublicParts, SubordinateRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<PublicParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<PublicParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<PublicParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<PublicParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<PublicParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(p: &'a ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(p: &'a ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(p: &'a ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(p: &'a ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>) -> Self
fn from(p: &'a ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>) -> Self
source§impl<'a, R> From<&'a ComponentAmalgamation<'a, Key<SecretParts, R>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
impl<'a, R> From<&'a ComponentAmalgamation<'a, Key<SecretParts, R>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
source§impl<'a, R> From<&'a ComponentAmalgamation<'a, Key<SecretParts, R>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
impl<'a, R> From<&'a ComponentAmalgamation<'a, Key<SecretParts, R>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, PrimaryRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, PrimaryRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, PrimaryRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, PrimaryRole>>, ) -> Self
source§impl<'a, R> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
impl<'a, R> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
source§fn from(p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>) -> Self
fn from(p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, SubordinateRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, SubordinateRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(
p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a ComponentAmalgamation<'_, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Self
source§impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
source§impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
source§impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
source§impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
source§impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
source§impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
impl<'a, P> From<&'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, PrimaryRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, PrimaryRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, PrimaryRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, PrimaryRole>>, ) -> Self
source§impl<'a, R> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
impl<'a, R> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, SubordinateRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, SubordinateRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<PublicParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, PrimaryRole>>, ) -> Self
source§impl<'a, R> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
impl<'a, R> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
source§impl<'a, R> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
impl<'a, R> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<SecretParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, PrimaryRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, PrimaryRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, PrimaryRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, PrimaryRole>>, ) -> Self
source§impl<'a, R> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
impl<'a, R> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
source§fn from(p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>) -> Self
fn from(p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, SubordinateRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, SubordinateRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(
p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Self
fn from( p: &'a mut ComponentAmalgamation<'_, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Self
source§impl<'a, P> From<ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
impl<'a, P> From<ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
source§fn from(p: ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
source§impl<'a, P> From<ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
impl<'a, P> From<ComponentAmalgamation<'a, Key<P, PrimaryRole>>> for ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
source§fn from(p: ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<P, PrimaryRole>>) -> Self
source§impl<'a, P> From<ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
impl<'a, P> From<ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
source§fn from(p: ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
source§impl<'a, P> From<ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
impl<'a, P> From<ComponentAmalgamation<'a, Key<P, SubordinateRole>>> for ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>where
P: KeyParts,
source§fn from(p: ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<P, SubordinateRole>>) -> Self
source§impl<'a, P> From<ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
impl<'a, P> From<ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<P, PrimaryRole>>where
P: KeyParts,
source§fn from(p: ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
source§impl<'a, P> From<ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
impl<'a, P> From<ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<P, SubordinateRole>>where
P: KeyParts,
source§fn from(p: ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<P, UnspecifiedRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>) -> Self
source§impl<'a, R> From<ComponentAmalgamation<'a, Key<PublicParts, R>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
impl<'a, R> From<ComponentAmalgamation<'a, Key<PublicParts, R>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
source§fn from(p: ComponentAmalgamation<'a, Key<PublicParts, R>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<PublicParts, R>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>) -> Self
source§impl<'a, R> From<ComponentAmalgamation<'a, Key<SecretParts, R>>> for ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
impl<'a, R> From<ComponentAmalgamation<'a, Key<SecretParts, R>>> for ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
source§impl<'a, R> From<ComponentAmalgamation<'a, Key<SecretParts, R>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
impl<'a, R> From<ComponentAmalgamation<'a, Key<SecretParts, R>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>where
R: KeyRole,
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, R>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>
source§fn from(p: ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>,
) -> Self
fn from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>, ) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>,
) -> Self
fn from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>, ) -> Self
source§impl<'a, R> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
impl<'a, R> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for ComponentAmalgamation<'a, Key<PublicParts, R>>where
R: KeyRole,
source§fn from(p: ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>) -> Self
fn from(p: ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>,
) -> Self
fn from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>
source§fn from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>,
) -> Self
fn from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>, ) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>
source§fn from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Self
fn from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Self
source§impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
impl<'a> From<ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>
source§fn from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Self
fn from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Self
source§impl<'a, C: 'a> From<ValidComponentAmalgamation<'a, C>> for ComponentAmalgamation<'a, C>
impl<'a, C: 'a> From<ValidComponentAmalgamation<'a, C>> for ComponentAmalgamation<'a, C>
source§fn from(vca: ValidComponentAmalgamation<'a, C>) -> Self
fn from(vca: ValidComponentAmalgamation<'a, C>) -> Self
source§impl<'a, C: PartialEq> PartialEq for ComponentAmalgamation<'a, C>
impl<'a, C: PartialEq> PartialEq for ComponentAmalgamation<'a, C>
source§fn eq(&self, other: &ComponentAmalgamation<'a, C>) -> bool
fn eq(&self, other: &ComponentAmalgamation<'a, C>) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a, R> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, R>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
impl<'a, R> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, R>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<PublicParts, R>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<PublicParts, R>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a, R> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
impl<'a, R> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<&'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: &'a ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a, R> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
impl<'a, R> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, R>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a, R> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
impl<'a, R> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<&'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for &'a mut ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: &'a mut ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<PublicParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a, R> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, R>>> for ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
impl<'a, R> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, R>>> for ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
source§fn try_from(p: ComponentAmalgamation<'a, Key<PublicParts, R>>) -> Result<Self>
fn try_from(p: ComponentAmalgamation<'a, Key<PublicParts, R>>) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<PublicParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<PublicParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>> for ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, PrimaryRole>>, ) -> Result<Self>
source§impl<'a, R> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
impl<'a, R> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>> for ComponentAmalgamation<'a, Key<SecretParts, R>>where
R: KeyRole,
source§fn try_from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, R>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>> for ComponentAmalgamation<'a, Key<SecretParts, UnspecifiedRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, SubordinateRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<SecretParts, PrimaryRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
impl<'a> TryFrom<ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>> for ComponentAmalgamation<'a, Key<SecretParts, SubordinateRole>>
source§fn try_from(
p: ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>,
) -> Result<Self>
fn try_from( p: ComponentAmalgamation<'a, Key<UnspecifiedParts, UnspecifiedRole>>, ) -> Result<Self>
source§impl<'a, C> ValidateAmalgamation<'a, C> for ComponentAmalgamation<'a, C>
impl<'a, C> ValidateAmalgamation<'a, C> for ComponentAmalgamation<'a, C>
§type V = ValidComponentAmalgamation<'a, C>
type V = ValidComponentAmalgamation<'a, C>
with_policy
. Read moresource§impl<'a, C> Deref for ComponentAmalgamation<'a, C>
impl<'a, C> Deref for ComponentAmalgamation<'a, C>
impl<'a, C> StructuralPartialEq for ComponentAmalgamation<'a, C>
Auto Trait Implementations§
impl<'a, C> Freeze for ComponentAmalgamation<'a, C>
impl<'a, C> RefUnwindSafe for ComponentAmalgamation<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for ComponentAmalgamation<'a, C>where
C: Sync,
impl<'a, C> Sync for ComponentAmalgamation<'a, C>where
C: Sync,
impl<'a, C> Unpin for ComponentAmalgamation<'a, C>
impl<'a, C> UnwindSafe for ComponentAmalgamation<'a, C>where
C: RefUnwindSafe,
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
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)
clone_to_uninit
)