pub struct ApprovedPayload {
pub service_id: Uuid,
}Expand description
Payload for approval notification.
Pushed by the controller as soon as an admin approves the service — the service
does not poll for this; it simply waits on the still-open enrollment connection
(or a reconnect made with the enrollment_secret bearer token). On receipt, the
service proceeds to generate a keypair and send request_certificate.
Fields§
§service_id: UuidTrait Implementations§
Source§impl Clone for ApprovedPayload
impl Clone for ApprovedPayload
Source§fn clone(&self) -> ApprovedPayload
fn clone(&self) -> ApprovedPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApprovedPayload
impl Debug for ApprovedPayload
Source§impl<'de> Deserialize<'de> for ApprovedPayload
impl<'de> Deserialize<'de> for ApprovedPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ApprovedPayload
Source§impl PartialEq for ApprovedPayload
impl PartialEq for ApprovedPayload
Source§impl Serialize for ApprovedPayload
impl Serialize for ApprovedPayload
impl StructuralPartialEq for ApprovedPayload
Auto Trait Implementations§
impl Freeze for ApprovedPayload
impl RefUnwindSafe for ApprovedPayload
impl Send for ApprovedPayload
impl Sync for ApprovedPayload
impl Unpin for ApprovedPayload
impl UnsafeUnpin for ApprovedPayload
impl UnwindSafe for ApprovedPayload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.