pub struct Credentials {
pub cookie: String,
pub key: String,
}Expand description
Cookie and key pair used to authenticate with the iTerm2 WebSocket API.
Credentials are zeroized from memory when dropped. The Debug implementation
redacts the actual values to prevent accidental credential leakage in logs.
Fields§
§key: StringTrait Implementations§
Source§impl Debug for Credentials
impl Debug for Credentials
Source§impl Drop for Credentials
impl Drop for Credentials
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