pub struct RecommendedAction {
pub action: Option<String>,
pub action_url: Option<String>,
pub action_url_comment: Option<String>,
pub action_url_text: Option<String>,
}
Expand description
Lists actions the user can take based on the current availabilityState of the resource.
Fields§
§action: Option<String>
Recommended action.
action_url: Option<String>
Link to the action
action_url_comment: Option<String>
the comment for the Action
action_url_text: Option<String>
Substring of action, it describes which text should host the action URL.
Implementations§
Trait Implementations§
source§impl Clone for RecommendedAction
impl Clone for RecommendedAction
source§fn clone(&self) -> RecommendedAction
fn clone(&self) -> RecommendedAction
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 RecommendedAction
impl Debug for RecommendedAction
source§impl Default for RecommendedAction
impl Default for RecommendedAction
source§fn default() -> RecommendedAction
fn default() -> RecommendedAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RecommendedAction
impl<'de> Deserialize<'de> for RecommendedAction
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
source§impl PartialEq for RecommendedAction
impl PartialEq for RecommendedAction
source§fn eq(&self, other: &RecommendedAction) -> bool
fn eq(&self, other: &RecommendedAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RecommendedAction
impl Serialize for RecommendedAction
impl StructuralPartialEq for RecommendedAction
Auto Trait Implementations§
impl Freeze for RecommendedAction
impl RefUnwindSafe for RecommendedAction
impl Send for RecommendedAction
impl Sync for RecommendedAction
impl Unpin for RecommendedAction
impl UnwindSafe for RecommendedAction
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