pub enum GraphQLTablesConfig {
None,
Auto,
Include(Vec<TableName>),
Exclude(Vec<TableName>),
}Variants§
Implementations§
Source§impl GraphQLTablesConfig
impl GraphQLTablesConfig
Sourcepub fn walk_revisioned_variant_name(
wire_revision: u16,
discriminant: u32,
) -> Option<&'static str>
pub fn walk_revisioned_variant_name( wire_revision: u16, discriminant: u32, ) -> Option<&'static str>
Resolve a wire discriminant at wire_revision to the variant
identifier at that revision. Returns None if no such variant
exists at that revision.
Generated by the revisioned derive.
Sourcepub fn walk_revisioned_variant_table(
wire_revision: u16,
) -> &'static [(&'static str, u32)]
pub fn walk_revisioned_variant_table( wire_revision: u16, ) -> &'static [(&'static str, u32)]
Variant name + discriminant pairs at wire_revision. Returns
an empty slice if the revision is unknown. Generated by the
revisioned derive.
Trait Implementations§
Source§impl Clone for GraphQLTablesConfig
impl Clone for GraphQLTablesConfig
Source§impl Debug for GraphQLTablesConfig
impl Debug for GraphQLTablesConfig
Source§impl Default for GraphQLTablesConfig
impl Default for GraphQLTablesConfig
impl Eq for GraphQLTablesConfig
Source§impl From<GraphQLTablesConfig> for TablesConfig
impl From<GraphQLTablesConfig> for TablesConfig
Source§fn from(v: GraphQLTablesConfig) -> Self
fn from(v: GraphQLTablesConfig) -> Self
Converts to this type from the input type.
Source§impl From<TablesConfig> for GraphQLTablesConfig
impl From<TablesConfig> for GraphQLTablesConfig
Source§fn from(v: TablesConfig) -> Self
fn from(v: TablesConfig) -> Self
Converts to this type from the input type.
Source§impl Hash for GraphQLTablesConfig
impl Hash for GraphQLTablesConfig
Source§impl InfoStructure for GraphQLTablesConfig
impl InfoStructure for GraphQLTablesConfig
Source§impl PartialEq for GraphQLTablesConfig
impl PartialEq for GraphQLTablesConfig
Source§impl Revisioned for GraphQLTablesConfig
impl Revisioned for GraphQLTablesConfig
Source§impl SkipRevisioned for GraphQLTablesConfig
impl SkipRevisioned for GraphQLTablesConfig
fn skip_revisioned<R: Read>(reader: &mut R) -> Result<(), Error>
Source§fn skip_revisioned_slice(reader: &mut SliceReader<'_>) -> Result<(), Error>
fn skip_revisioned_slice(reader: &mut SliceReader<'_>) -> Result<(), Error>
Consume through bytes backed by
SliceReader without allocating a buffer for bulk segments. Read moreimpl StructuralPartialEq for GraphQLTablesConfig
Source§impl WalkRevisioned for GraphQLTablesConfig
impl WalkRevisioned for GraphQLTablesConfig
Source§type Walker<'r, R: BorrowedReader + 'r> = GraphQLTablesConfigWalker<'r, R>
type Walker<'r, R: BorrowedReader + 'r> = GraphQLTablesConfigWalker<'r, R>
Walker produced by
walk_revisioned. Read moreSource§fn walk_revisioned<'r, R: BorrowedReader>(
reader: &'r mut R,
) -> Result<Self::Walker<'r, R>, Error>
fn walk_revisioned<'r, R: BorrowedReader>( reader: &'r mut R, ) -> Result<Self::Walker<'r, R>, Error>
Read the type’s revision-level prefix and return a walker positioned at
the start of the body. Read more
Auto Trait Implementations§
impl Freeze for GraphQLTablesConfig
impl RefUnwindSafe for GraphQLTablesConfig
impl Send for GraphQLTablesConfig
impl Sync for GraphQLTablesConfig
impl Unpin for GraphQLTablesConfig
impl UnsafeUnpin for GraphQLTablesConfig
impl UnwindSafe for GraphQLTablesConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.