Struct dagger_sdk::core::gql_client::GraphQLError
source · pub struct GraphQLError { /* private fields */ }Implementations§
source§impl GraphQLError
impl GraphQLError
pub fn with_text(message: impl AsRef<str>) -> Self
pub fn with_message_and_json( message: impl AsRef<str>, json: Vec<GraphQLErrorMessage>, ) -> Self
pub fn with_json(json: Vec<GraphQLErrorMessage>) -> Self
pub fn message(&self) -> &str
pub fn json(&self) -> Option<Vec<GraphQLErrorMessage>>
Trait Implementations§
source§impl Clone for GraphQLError
impl Clone for GraphQLError
source§fn clone(&self) -> GraphQLError
fn clone(&self) -> GraphQLError
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 GraphQLError
impl Debug for GraphQLError
source§impl Display for GraphQLError
impl Display for GraphQLError
Auto Trait Implementations§
impl Freeze for GraphQLError
impl RefUnwindSafe for GraphQLError
impl Send for GraphQLError
impl Sync for GraphQLError
impl Unpin for GraphQLError
impl UnwindSafe for GraphQLError
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)