pub struct CreateQuerySpecification {
pub query: String,
pub pagination_token: Option<String>,
}Expand description
CreateQuerySpecification : Information required to create the query.
Fields§
§query: StringThe GraphQL query to submit. A query must be at most 8000 characters after unnecessary whitespace is removed.
pagination_token: Option<String>A token to fetch a certain page of query results when there are multiple pages of query results available. The value of this token must be fetched from the pagination.nextToken field of the Query object, and the query field for this object must also be set to the query field of the same Query object. A Query object can be retrieved from either the getQueries or getQuery operation. In the absence of this token value, the first page of query results will be requested.
Implementations§
Source§impl CreateQuerySpecification
impl CreateQuerySpecification
Sourcepub fn new(query: String) -> CreateQuerySpecification
pub fn new(query: String) -> CreateQuerySpecification
Information required to create the query.
Trait Implementations§
Source§impl Clone for CreateQuerySpecification
impl Clone for CreateQuerySpecification
Source§fn clone(&self) -> CreateQuerySpecification
fn clone(&self) -> CreateQuerySpecification
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 CreateQuerySpecification
impl Debug for CreateQuerySpecification
Source§impl Default for CreateQuerySpecification
impl Default for CreateQuerySpecification
Source§fn default() -> CreateQuerySpecification
fn default() -> CreateQuerySpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateQuerySpecification
impl<'de> Deserialize<'de> for CreateQuerySpecification
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 CreateQuerySpecification
impl PartialEq for CreateQuerySpecification
Source§impl Serialize for CreateQuerySpecification
impl Serialize for CreateQuerySpecification
impl StructuralPartialEq for CreateQuerySpecification
Auto Trait Implementations§
impl Freeze for CreateQuerySpecification
impl RefUnwindSafe for CreateQuerySpecification
impl Send for CreateQuerySpecification
impl Sync for CreateQuerySpecification
impl Unpin for CreateQuerySpecification
impl UnsafeUnpin for CreateQuerySpecification
impl UnwindSafe for CreateQuerySpecification
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