#[non_exhaustive]pub struct DecisionInputMessage {
pub role: DecisionRole,
pub type_: Option<DecisionMessageType>,
pub content: DecisionContent,
pub rest: Rest,
}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.role: DecisionRole§type_: Option<DecisionMessageType>§content: DecisionContent§rest: RestImplementations§
Source§impl DecisionInputMessage
impl DecisionInputMessage
Sourcepub fn builder(
role: DecisionRole,
content: DecisionContent,
) -> DecisionInputMessageBuilder
pub fn builder( role: DecisionRole, content: DecisionContent, ) -> DecisionInputMessageBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for DecisionInputMessage
impl Clone for DecisionInputMessage
Source§impl Debug for DecisionInputMessage
impl Debug for DecisionInputMessage
Source§impl DeclaredFields for DecisionInputMessage
impl DeclaredFields for DecisionInputMessage
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for DecisionInputMessage
impl<'de> Deserialize<'de> for DecisionInputMessage
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 DecisionInputMessage
impl PartialEq for DecisionInputMessage
Source§impl Serialize for DecisionInputMessage
impl Serialize for DecisionInputMessage
impl StructuralPartialEq for DecisionInputMessage
Auto Trait Implementations§
impl Freeze for DecisionInputMessage
impl RefUnwindSafe for DecisionInputMessage
impl Send for DecisionInputMessage
impl Sync for DecisionInputMessage
impl Unpin for DecisionInputMessage
impl UnsafeUnpin for DecisionInputMessage
impl UnwindSafe for DecisionInputMessage
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