pub struct UpdateAuthentication {
pub signed: String,
pub signatures: Vec<String>,
}Expand description
Opaque envelope carried on check-update. Providers must not reserialize signed.
Carries no scheme identifier. The transport is versioned by its endpoint
path and the manifest by the authenticated v inside signed; a third
identifier, sitting outside the signature where a caller controls it,
would only invite a client to pick its verification by what it was handed.
Fields§
§signed: String§signatures: Vec<String>Trait Implementations§
Source§impl Clone for UpdateAuthentication
impl Clone for UpdateAuthentication
Source§fn clone(&self) -> UpdateAuthentication
fn clone(&self) -> UpdateAuthentication
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 UpdateAuthentication
impl Debug for UpdateAuthentication
Source§impl Default for UpdateAuthentication
impl Default for UpdateAuthentication
Source§fn default() -> UpdateAuthentication
fn default() -> UpdateAuthentication
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAuthentication
impl<'de> Deserialize<'de> for UpdateAuthentication
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 UpdateAuthentication
Source§impl PartialEq for UpdateAuthentication
impl PartialEq for UpdateAuthentication
Source§impl Serialize for UpdateAuthentication
impl Serialize for UpdateAuthentication
impl StructuralPartialEq for UpdateAuthentication
Auto Trait Implementations§
impl Freeze for UpdateAuthentication
impl RefUnwindSafe for UpdateAuthentication
impl Send for UpdateAuthentication
impl Sync for UpdateAuthentication
impl Unpin for UpdateAuthentication
impl UnsafeUnpin for UpdateAuthentication
impl UnwindSafe for UpdateAuthentication
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