pub struct PublishCredentials {
pub cargo_authorization: Token,
pub token: Token,
}Expand description
The credentials of one publication.
Fields§
The whole Authorization value of Cargo crate uploads.
token: TokenThe token of npm publishes and of the registry login password.
Trait Implementations§
Source§impl Clone for PublishCredentials
impl Clone for PublishCredentials
Source§fn clone(&self) -> PublishCredentials
fn clone(&self) -> PublishCredentials
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 moreAuto Trait Implementations§
impl Freeze for PublishCredentials
impl RefUnwindSafe for PublishCredentials
impl Send for PublishCredentials
impl Sync for PublishCredentials
impl Unpin for PublishCredentials
impl UnsafeUnpin for PublishCredentials
impl UnwindSafe for PublishCredentials
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