#[repr(i32)]pub enum SqlDataAccess {
SQL_DATA_ACCESS_UNSPECIFIED = 0,
CONTAINS_SQL = 1,
READS_SQL_DATA = 2,
NO_SQL = 3,
}Expand description
Information about the SQL data access capability of the function.
Variants§
SQL_DATA_ACCESS_UNSPECIFIED = 0
CONTAINS_SQL = 1
Function contains no SQL.
READS_SQL_DATA = 2
Function reads from SQL tables or views.
NO_SQL = 3
Function does not use SQL and does not access data.
Implementations§
Source§impl SqlDataAccess
impl SqlDataAccess
Sourcepub const SqlDataAccessUnspecified: Self = Self::SQL_DATA_ACCESS_UNSPECIFIED
pub const SqlDataAccessUnspecified: Self = Self::SQL_DATA_ACCESS_UNSPECIFIED
Idiomatic alias for Self::SQL_DATA_ACCESS_UNSPECIFIED; Debug prints the variant name.
Sourcepub const ContainsSql: Self = Self::CONTAINS_SQL
pub const ContainsSql: Self = Self::CONTAINS_SQL
Idiomatic alias for Self::CONTAINS_SQL; Debug prints the variant name.
Sourcepub const ReadsSqlData: Self = Self::READS_SQL_DATA
pub const ReadsSqlData: Self = Self::READS_SQL_DATA
Idiomatic alias for Self::READS_SQL_DATA; Debug prints the variant name.
Sourcepub const NoSql: Self = Self::NO_SQL
pub const NoSql: Self = Self::NO_SQL
Idiomatic alias for Self::NO_SQL; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for SqlDataAccess
impl Clone for SqlDataAccess
Source§fn clone(&self) -> SqlDataAccess
fn clone(&self) -> SqlDataAccess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SqlDataAccess
Source§impl Debug for SqlDataAccess
impl Debug for SqlDataAccess
Source§impl Default for SqlDataAccess
impl Default for SqlDataAccess
Source§impl<'de> Deserialize<'de> for SqlDataAccess
impl<'de> Deserialize<'de> for SqlDataAccess
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for SqlDataAccess
impl Enumeration for SqlDataAccess
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for SqlDataAccess
Source§impl Hash for SqlDataAccess
impl Hash for SqlDataAccess
Source§impl PartialEq for SqlDataAccess
impl PartialEq for SqlDataAccess
Source§impl ProtoElemJson for SqlDataAccess
impl ProtoElemJson for SqlDataAccess
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for SqlDataAccess
impl Serialize for SqlDataAccess
impl StructuralPartialEq for SqlDataAccess
Auto Trait Implementations§
impl Freeze for SqlDataAccess
impl RefUnwindSafe for SqlDataAccess
impl Send for SqlDataAccess
impl Sync for SqlDataAccess
impl Unpin for SqlDataAccess
impl UnsafeUnpin for SqlDataAccess
impl UnwindSafe for SqlDataAccess
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