pub struct UploadCredentials {
pub signing_key: SecretKey,
pub verification_key: PublicKey,
}Expand description
Credentials used for signing & verifying upload locations.
Fields§
§signing_key: SecretKeyKey used to sign upload locations.
verification_key: PublicKeyKey used to verify upload locations.
Trait Implementations§
Source§impl Clone for UploadCredentials
impl Clone for UploadCredentials
Source§fn clone(&self) -> UploadCredentials
fn clone(&self) -> UploadCredentials
Returns a duplicate of the value. Read more
1.0.0 · 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 UploadCredentials
impl Debug for UploadCredentials
Source§impl<'de> Deserialize<'de> for UploadCredentials
impl<'de> Deserialize<'de> for UploadCredentials
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UploadCredentials
impl RefUnwindSafe for UploadCredentials
impl Send for UploadCredentials
impl Sync for UploadCredentials
impl Unpin for UploadCredentials
impl UnsafeUnpin for UploadCredentials
impl UnwindSafe for UploadCredentials
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