pub struct InitPrincipalPlan {
pub status: &'static str,
pub source: Option<&'static str>,
pub name: Option<String>,
pub email: Option<String>,
pub recommended_action: Option<&'static str>,
}Expand description
Pure principal configuration status for init output.
Fields§
§status: &'static str§source: Option<&'static str>§name: Option<String>§email: Option<String>§recommended_action: Option<&'static str>Implementations§
Source§impl InitPrincipalPlan
impl InitPrincipalPlan
pub fn configured(source: &'static str, principal: &Principal) -> Self
pub fn not_configured() -> Self
Trait Implementations§
Source§impl Clone for InitPrincipalPlan
impl Clone for InitPrincipalPlan
Source§fn clone(&self) -> InitPrincipalPlan
fn clone(&self) -> InitPrincipalPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InitPrincipalPlan
impl Debug for InitPrincipalPlan
impl Eq for InitPrincipalPlan
Source§impl PartialEq for InitPrincipalPlan
impl PartialEq for InitPrincipalPlan
impl StructuralPartialEq for InitPrincipalPlan
Auto Trait Implementations§
impl Freeze for InitPrincipalPlan
impl RefUnwindSafe for InitPrincipalPlan
impl Send for InitPrincipalPlan
impl Sync for InitPrincipalPlan
impl Unpin for InitPrincipalPlan
impl UnsafeUnpin for InitPrincipalPlan
impl UnwindSafe for InitPrincipalPlan
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