pub struct CUserMessageNotifyResponseFound {
pub ent_index: Option<i32>,
pub rule_name: Option<String>,
pub response_value: Option<String>,
pub response_concept: Option<String>,
pub criteria: Vec<Criteria>,
pub int_criteria_names: Vec<u32>,
pub int_criteria_values: Vec<i32>,
pub float_criteria_names: Vec<u32>,
pub float_criteria_values: Vec<f32>,
pub symbol_criteria_names: Vec<u32>,
pub symbol_criteria_values: Vec<u32>,
pub speak_result: Option<i32>,
}Fields§
§ent_index: Option<i32>§rule_name: Option<String>§response_value: Option<String>§response_concept: Option<String>§criteria: Vec<Criteria>§int_criteria_names: Vec<u32>§int_criteria_values: Vec<i32>§float_criteria_names: Vec<u32>§float_criteria_values: Vec<f32>§symbol_criteria_names: Vec<u32>§symbol_criteria_values: Vec<u32>§speak_result: Option<i32>Implementations§
Source§impl CUserMessageNotifyResponseFound
impl CUserMessageNotifyResponseFound
Sourcepub fn ent_index(&self) -> i32
pub fn ent_index(&self) -> i32
Returns the value of ent_index, or the default value if ent_index is unset.
Sourcepub fn rule_name(&self) -> &str
pub fn rule_name(&self) -> &str
Returns the value of rule_name, or the default value if rule_name is unset.
Sourcepub fn response_value(&self) -> &str
pub fn response_value(&self) -> &str
Returns the value of response_value, or the default value if response_value is unset.
Sourcepub fn response_concept(&self) -> &str
pub fn response_concept(&self) -> &str
Returns the value of response_concept, or the default value if response_concept is unset.
Sourcepub fn speak_result(&self) -> i32
pub fn speak_result(&self) -> i32
Returns the value of speak_result, or the default value if speak_result is unset.
Trait Implementations§
Source§impl Clone for CUserMessageNotifyResponseFound
impl Clone for CUserMessageNotifyResponseFound
Source§fn clone(&self) -> CUserMessageNotifyResponseFound
fn clone(&self) -> CUserMessageNotifyResponseFound
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CUserMessageNotifyResponseFound
impl Default for CUserMessageNotifyResponseFound
Source§fn default() -> CUserMessageNotifyResponseFound
fn default() -> CUserMessageNotifyResponseFound
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CUserMessageNotifyResponseFound
impl<'de> Deserialize<'de> for CUserMessageNotifyResponseFound
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CUserMessageNotifyResponseFound, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CUserMessageNotifyResponseFound, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for CUserMessageNotifyResponseFound
impl Message for CUserMessageNotifyResponseFound
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl Serialize for CUserMessageNotifyResponseFound
impl Serialize for CUserMessageNotifyResponseFound
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CUserMessageNotifyResponseFound
Auto Trait Implementations§
impl Freeze for CUserMessageNotifyResponseFound
impl RefUnwindSafe for CUserMessageNotifyResponseFound
impl Send for CUserMessageNotifyResponseFound
impl Sync for CUserMessageNotifyResponseFound
impl Unpin for CUserMessageNotifyResponseFound
impl UnwindSafe for CUserMessageNotifyResponseFound
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)