pub struct StateField {
pub field: String,
pub value: String,
}Expand description
A field value that puts the target resource into an invalid or rejected state.
Supplied to enable state-transition elicitation strategies.
Fields§
§field: StringJSON field name, e.g. "status".
value: StringThe invalid value, e.g. "invalid_state".
Trait Implementations§
Source§impl Clone for StateField
impl Clone for StateField
Source§fn clone(&self) -> StateField
fn clone(&self) -> StateField
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 moreAuto Trait Implementations§
impl Freeze for StateField
impl RefUnwindSafe for StateField
impl Send for StateField
impl Sync for StateField
impl Unpin for StateField
impl UnsafeUnpin for StateField
impl UnwindSafe for StateField
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