pub struct ProfileAddResult {
pub name: String,
pub label: Option<String>,
pub url: String,
pub auth_kind: &'static str,
pub active: bool,
}Expand description
Result of profile add (declaration order = golden field order).
Fields§
§name: StringThe profile’s name.
label: Option<String>Optional display label (CORE-01) — absent from JSON when unset.
url: StringGateway base URL (normalized).
auth_kind: &'static strSafe credential kind string (“token_env”/“keyring”/“basic”).
active: boolWhether this profile is the active one after the add.
Trait Implementations§
Source§impl Debug for ProfileAddResult
impl Debug for ProfileAddResult
Auto Trait Implementations§
impl Freeze for ProfileAddResult
impl RefUnwindSafe for ProfileAddResult
impl Send for ProfileAddResult
impl Sync for ProfileAddResult
impl Unpin for ProfileAddResult
impl UnsafeUnpin for ProfileAddResult
impl UnwindSafe for ProfileAddResult
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