pub struct DeleteArgs {
pub filter: Option<TableFilter>,
pub returning: Vec<String>,
}Expand description
Arguments for a GraphQL delete mutation.
Fields§
§filter: Option<TableFilter>Filter to select rows to delete
returning: Vec<String>Fields to return
Implementations§
Source§impl DeleteArgs
impl DeleteArgs
Sourcepub fn with_filter(self, filter: TableFilter) -> Self
pub fn with_filter(self, filter: TableFilter) -> Self
Set the filter.
Sourcepub fn with_returning(self, returning: Vec<String>) -> Self
pub fn with_returning(self, returning: Vec<String>) -> Self
Set returning fields.
Sourcepub fn has_filter(&self) -> bool
pub fn has_filter(&self) -> bool
Check if filter is specified.
Trait Implementations§
Source§impl Clone for DeleteArgs
impl Clone for DeleteArgs
Source§fn clone(&self) -> DeleteArgs
fn clone(&self) -> DeleteArgs
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 DeleteArgs
impl Debug for DeleteArgs
Source§impl Default for DeleteArgs
impl Default for DeleteArgs
Source§fn default() -> DeleteArgs
fn default() -> DeleteArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeleteArgs
impl RefUnwindSafe for DeleteArgs
impl Send for DeleteArgs
impl Sync for DeleteArgs
impl Unpin for DeleteArgs
impl UnwindSafe for DeleteArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more