pub struct Credentials {
pub access_key: SecretString,
pub secret_key: SecretString,
}Expand description
API key credentials for authenticating with the Onshape API.
Fields§
§access_key: SecretStringThe API access key (acts as a username/identifier).
secret_key: SecretStringThe API secret key (acts as a password/signing key).
Auto Trait Implementations§
impl Freeze for Credentials
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnsafeUnpin for Credentials
impl UnwindSafe for Credentials
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