#[repr(transparent)]pub struct DataSourceProvider(pub i8);Tuple Fields§
§0: i8Implementations§
Source§impl DataSourceProvider
impl DataSourceProvider
pub const Rest: Self
pub const GraphQL: Self
pub const Supabase: Self
pub const Firebase: Self
pub const Convex: Self
pub const Custom: Self
pub const ENUM_MIN: i8 = 0
pub const ENUM_MAX: i8 = 5
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
Source§impl Clone for DataSourceProvider
impl Clone for DataSourceProvider
Source§fn clone(&self) -> DataSourceProvider
fn clone(&self) -> DataSourceProvider
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 DataSourceProvider
impl Debug for DataSourceProvider
Source§impl Default for DataSourceProvider
impl Default for DataSourceProvider
Source§fn default() -> DataSourceProvider
fn default() -> DataSourceProvider
Returns the “default value” for a type. Read more
Source§impl EndianScalar for DataSourceProvider
impl EndianScalar for DataSourceProvider
Source§impl<'a> Follow<'a> for DataSourceProvider
impl<'a> Follow<'a> for DataSourceProvider
Source§impl Hash for DataSourceProvider
impl Hash for DataSourceProvider
Source§impl Ord for DataSourceProvider
impl Ord for DataSourceProvider
Source§fn cmp(&self, other: &DataSourceProvider) -> Ordering
fn cmp(&self, other: &DataSourceProvider) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DataSourceProvider
impl PartialEq for DataSourceProvider
Source§impl PartialOrd for DataSourceProvider
impl PartialOrd for DataSourceProvider
Source§impl Push for DataSourceProvider
impl Push for DataSourceProvider
Source§impl<'a> Verifiable for DataSourceProvider
impl<'a> Verifiable for DataSourceProvider
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl Copy for DataSourceProvider
impl Eq for DataSourceProvider
impl SimpleToVerifyInSlice for DataSourceProvider
impl StructuralPartialEq for DataSourceProvider
Auto Trait Implementations§
impl Freeze for DataSourceProvider
impl RefUnwindSafe for DataSourceProvider
impl Send for DataSourceProvider
impl Sync for DataSourceProvider
impl Unpin for DataSourceProvider
impl UnsafeUnpin for DataSourceProvider
impl UnwindSafe for DataSourceProvider
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