pub struct ChangeProposal {
pub action: String,
pub agent_id: String,
pub intent: String,
pub preferred_option: String,
pub alternatives: Vec<String>,
pub tokens: Vec<String>,
pub attached_fields: HashMap<String, String>,
}Expand description
A proposed change evaluated against change-cost policies.
Fields§
§action: String§agent_id: String§intent: String§preferred_option: String§alternatives: Vec<String>§tokens: Vec<String>§attached_fields: HashMap<String, String>Implementations§
Source§impl ChangeProposal
impl ChangeProposal
Trait Implementations§
Source§impl Clone for ChangeProposal
impl Clone for ChangeProposal
Source§impl Debug for ChangeProposal
impl Debug for ChangeProposal
Source§impl<'de> Deserialize<'de> for ChangeProposal
impl<'de> Deserialize<'de> for ChangeProposal
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 ChangeProposal
impl PartialEq for ChangeProposal
Source§impl Serialize for ChangeProposal
impl Serialize for ChangeProposal
impl StructuralPartialEq for ChangeProposal
Auto Trait Implementations§
impl Freeze for ChangeProposal
impl RefUnwindSafe for ChangeProposal
impl Send for ChangeProposal
impl Sync for ChangeProposal
impl Unpin for ChangeProposal
impl UnsafeUnpin for ChangeProposal
impl UnwindSafe for ChangeProposal
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