#[non_exhaustive]pub struct ApprovalCuaStep {
pub step: u32,
pub kind: String,
pub action: String,
pub effect: String,
pub role_word: Option<String>,
pub label: Option<String>,
pub chord: Option<String>,
pub point: Option<ApprovalCuaPoint>,
}Expand description
One consequential step. A client renders “Step N:
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.step: u321-based, as the batch numbers its steps.
kind: StringAn open tag for styling and tests only (verb:<class>, unresolved,
unlabeled); a client that doesn’t know a value renders the step from
effect and its label as usual.
action: StringThe host’s verb phrase, such as click or type into.
effect: StringThe host’s trusted sentence for what the step may do.
role_word: Option<String>button, link, menu item or key; absent for a point step.
label: Option<String>The control’s label: the app’s own text, shown quoted and as plain text; a client may cap it.
chord: Option<String>The chord, for a key step.
point: Option<ApprovalCuaPoint>The step’s own 0–1000 model coordinates, only for a point step.
Trait Implementations§
Source§impl Clone for ApprovalCuaStep
impl Clone for ApprovalCuaStep
Source§impl Debug for ApprovalCuaStep
impl Debug for ApprovalCuaStep
Source§impl<'de> Deserialize<'de> for ApprovalCuaStep
impl<'de> Deserialize<'de> for ApprovalCuaStep
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
impl Eq for ApprovalCuaStep
Source§impl PartialEq for ApprovalCuaStep
impl PartialEq for ApprovalCuaStep
Source§impl Serialize for ApprovalCuaStep
impl Serialize for ApprovalCuaStep
impl StructuralPartialEq for ApprovalCuaStep
Auto Trait Implementations§
impl Freeze for ApprovalCuaStep
impl RefUnwindSafe for ApprovalCuaStep
impl Send for ApprovalCuaStep
impl Sync for ApprovalCuaStep
impl Unpin for ApprovalCuaStep
impl UnsafeUnpin for ApprovalCuaStep
impl UnwindSafe for ApprovalCuaStep
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