pub struct FetchDataPayload {
pub data: Option<Value>,
pub query: Option<String>,
pub filters: Option<Value>,
pub success: Option<bool>,
}Fields§
§data: Option<Value>The fetched data based on the natural language query.
query: Option<String>The GraphQL query used to fetch the data.
filters: Option<Value>The filters used to fetch the data.
success: Option<bool>Whether the fetch operation was successful.
Trait Implementations§
Source§impl Clone for FetchDataPayload
impl Clone for FetchDataPayload
Source§fn clone(&self) -> FetchDataPayload
fn clone(&self) -> FetchDataPayload
Returns a duplicate 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 FetchDataPayload
impl Debug for FetchDataPayload
Source§impl Default for FetchDataPayload
impl Default for FetchDataPayload
Source§fn default() -> FetchDataPayload
fn default() -> FetchDataPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FetchDataPayloadwhere
FetchDataPayload: Default,
impl<'de> Deserialize<'de> for FetchDataPayloadwhere
FetchDataPayload: Default,
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 GraphQLFields for FetchDataPayload
impl GraphQLFields for FetchDataPayload
Auto Trait Implementations§
impl Freeze for FetchDataPayload
impl RefUnwindSafe for FetchDataPayload
impl Send for FetchDataPayload
impl Sync for FetchDataPayload
impl Unpin for FetchDataPayload
impl UnwindSafe for FetchDataPayload
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