pub struct ClusterCredentials {
pub server: String,
pub bearer_token: String,
}Expand description
Credentials resolved from a kubeconfig file.
Fields§
§server: String§bearer_token: StringTrait Implementations§
Source§impl Clone for ClusterCredentials
impl Clone for ClusterCredentials
Source§fn clone(&self) -> ClusterCredentials
fn clone(&self) -> ClusterCredentials
Returns a duplicate of the value. Read more
1.0.0 · 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 ClusterCredentials
impl RefUnwindSafe for ClusterCredentials
impl Send for ClusterCredentials
impl Sync for ClusterCredentials
impl Unpin for ClusterCredentials
impl UnsafeUnpin for ClusterCredentials
impl UnwindSafe for ClusterCredentials
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