pub struct RequestPhrases {
pub common: RequestCommon,
pub phrases: Vec<Phrase>,
pub updates: bool,
}
Expand description
Represents a Phrases-request.
The Phrases-request can be used to perform reasoning on the server.
Fields§
§common: RequestCommon
The common schema of all requests
phrases: Vec<Phrase>
A list of phrases to send to the server.
updates: bool
Whether to ask for updates or not.
Trait Implementations§
Source§impl Clone for RequestPhrases
impl Clone for RequestPhrases
Source§fn clone(&self) -> RequestPhrases
fn clone(&self) -> RequestPhrases
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RequestPhrases
impl Debug for RequestPhrases
Source§impl<'de> Deserialize<'de> for RequestPhrases
impl<'de> Deserialize<'de> for RequestPhrases
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
Auto Trait Implementations§
impl Freeze for RequestPhrases
impl RefUnwindSafe for RequestPhrases
impl Send for RequestPhrases
impl Sync for RequestPhrases
impl Unpin for RequestPhrases
impl UnwindSafe for RequestPhrases
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