pub struct RecommendedAction {
pub action: Option<String>,
pub action_url: 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_text: Option<String>
Substring of action, it describes which text should host the action url.
Implementations
Trait Implementations
sourceimpl Clone for RecommendedAction
impl Clone for RecommendedAction
sourcefn clone(&self) -> RecommendedAction
fn clone(&self) -> RecommendedAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RecommendedAction
impl Debug for RecommendedAction
sourceimpl Default for RecommendedAction
impl Default for RecommendedAction
sourcefn default() -> RecommendedAction
fn default() -> RecommendedAction
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RecommendedAction
impl<'de> Deserialize<'de> for RecommendedAction
sourcefn 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
sourceimpl PartialEq<RecommendedAction> for RecommendedAction
impl PartialEq<RecommendedAction> for RecommendedAction
sourcefn eq(&self, other: &RecommendedAction) -> bool
fn eq(&self, other: &RecommendedAction) -> bool
sourceimpl Serialize for RecommendedAction
impl Serialize for RecommendedAction
impl StructuralPartialEq for RecommendedAction
Auto Trait Implementations
impl RefUnwindSafe for RecommendedAction
impl Send for RecommendedAction
impl Sync for RecommendedAction
impl Unpin for RecommendedAction
impl UnwindSafe for RecommendedAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more