pub struct Status {
pub profile: String,
pub provider: String,
pub email: String,
pub client_preset: Option<String>,
pub client_source: Option<String>,
pub expires_at: i64,
pub expires_in: i64,
pub has_refresh_token: bool,
pub scopes: Vec<String>,
}Expand description
The shape ecr oauth status prints. The field names are oauthman’s, so a
script that read its output keeps working.
Fields§
§profile: String§provider: String§email: String§client_preset: Option<String>§client_source: Option<String>§expires_at: i64§expires_in: i64§has_refresh_token: bool§scopes: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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