pub struct CfsSessionGetResponse {
pub name: Option<String>,
pub configuration: Option<Configuration>,
pub ansible: Option<Ansible>,
pub target: Option<Target>,
pub status: Option<Status>,
pub tags: Option<HashMap<String, String>>,
pub debug_on_failure: bool,
pub logs: Option<String>,
}Fields§
§name: Option<String>§configuration: Option<Configuration>§ansible: Option<Ansible>§target: Option<Target>§status: Option<Status>§debug_on_failure: bool§logs: Option<String>Implementations§
Source§impl CfsSessionGetResponse
impl CfsSessionGetResponse
Sourcepub fn get_start_time(&self) -> Option<String>
pub fn get_start_time(&self) -> Option<String>
Get start time
Sourcepub fn get_result_id_vec(&self) -> Vec<String>
pub fn get_result_id_vec(&self) -> Vec<String>
Returns list of result_ids
Sourcepub fn get_first_result_id(&self) -> Option<String>
pub fn get_first_result_id(&self) -> Option<String>
Returns list of result_ids
Sourcepub fn get_targets(&self) -> Option<Vec<String>>
pub fn get_targets(&self) -> Option<Vec<String>>
Returns list of targets (either groups or xnames)
Sourcepub fn get_target_hsm(&self) -> Option<Vec<String>>
pub fn get_target_hsm(&self) -> Option<Vec<String>>
Returns list of HSM groups targeted
Sourcepub fn get_target_xname(&self) -> Option<Vec<String>>
pub fn get_target_xname(&self) -> Option<Vec<String>>
Returns list of xnames targeted
Sourcepub fn is_target_def_image(&self) -> bool
pub fn is_target_def_image(&self) -> bool
Returns ‘true’ if the CFS session target definition is ‘image’. Otherwise (target definiton dynamic) will return ‘false’
Sourcepub fn get_target_def(&self) -> Option<String>
pub fn get_target_def(&self) -> Option<String>
Returns target definition of the CFS session: image –> CFS session to build an image dynamic –> CFS session to configure a node
pub fn get_configuration_name(&self) -> Option<String>
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns ‘true’ if CFS session succeeded
Trait Implementations§
Source§impl Clone for CfsSessionGetResponse
impl Clone for CfsSessionGetResponse
Source§fn clone(&self) -> CfsSessionGetResponse
fn clone(&self) -> CfsSessionGetResponse
Returns a copy 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 moreSource§impl Debug for CfsSessionGetResponse
impl Debug for CfsSessionGetResponse
Source§impl<'de> Deserialize<'de> for CfsSessionGetResponse
impl<'de> Deserialize<'de> for CfsSessionGetResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CfsSessionGetResponse
impl RefUnwindSafe for CfsSessionGetResponse
impl Send for CfsSessionGetResponse
impl Sync for CfsSessionGetResponse
impl Unpin for CfsSessionGetResponse
impl UnwindSafe for CfsSessionGetResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more