#[repr(i32)]pub enum RoutineBody {
ROUTINE_BODY_UNSPECIFIED = 0,
SQL = 1,
EXTERNAL = 2,
}Expand description
Determines whether the function body is interpreted as SQL or as an external function.
Variants§
ROUTINE_BODY_UNSPECIFIED = 0
SQL = 1
The function is defined in SQL.
EXTERNAL = 2
The function is defined externally.
Implementations§
Source§impl RoutineBody
impl RoutineBody
Sourcepub const RoutineBodyUnspecified: Self = Self::ROUTINE_BODY_UNSPECIFIED
pub const RoutineBodyUnspecified: Self = Self::ROUTINE_BODY_UNSPECIFIED
Idiomatic alias for Self::ROUTINE_BODY_UNSPECIFIED; Debug prints the variant name.
Sourcepub const External: Self = Self::EXTERNAL
pub const External: Self = Self::EXTERNAL
Idiomatic alias for Self::EXTERNAL; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for RoutineBody
impl Clone for RoutineBody
Source§fn clone(&self) -> RoutineBody
fn clone(&self) -> RoutineBody
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 RoutineBody
Source§impl Debug for RoutineBody
impl Debug for RoutineBody
Source§impl Default for RoutineBody
impl Default for RoutineBody
Source§impl<'de> Deserialize<'de> for RoutineBody
impl<'de> Deserialize<'de> for RoutineBody
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 RoutineBody
impl Enumeration for RoutineBody
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 RoutineBody
Source§impl Hash for RoutineBody
impl Hash for RoutineBody
Source§impl PartialEq for RoutineBody
impl PartialEq for RoutineBody
Source§impl ProtoElemJson for RoutineBody
impl ProtoElemJson for RoutineBody
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 RoutineBody
impl Serialize for RoutineBody
impl StructuralPartialEq for RoutineBody
Auto Trait Implementations§
impl Freeze for RoutineBody
impl RefUnwindSafe for RoutineBody
impl Send for RoutineBody
impl Sync for RoutineBody
impl Unpin for RoutineBody
impl UnsafeUnpin for RoutineBody
impl UnwindSafe for RoutineBody
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