pub enum IntrospectionResponse {
FullResponse(FullResponse<SchemaContainer>),
Schema(SchemaContainer),
}
Variants§
FullResponse(FullResponse<SchemaContainer>)
Schema(SchemaContainer)
Implementations§
Source§impl IntrospectionResponse
impl IntrospectionResponse
pub fn as_schema(&self) -> &SchemaContainer
pub fn into_schema(self) -> SchemaContainer
Trait Implementations§
Source§impl Debug for IntrospectionResponse
impl Debug for IntrospectionResponse
Source§impl<'de> Deserialize<'de> for IntrospectionResponse
impl<'de> Deserialize<'de> for IntrospectionResponse
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 IntrospectionResponse
impl RefUnwindSafe for IntrospectionResponse
impl Send for IntrospectionResponse
impl Sync for IntrospectionResponse
impl Unpin for IntrospectionResponse
impl UnwindSafe for IntrospectionResponse
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