#[repr(i32)]pub enum ParameterMode {
PARAMETER_MODE_UNSPECIFIED = 0,
IN = 1,
}Expand description
The mode of the function parameter.
Variants§
Implementations§
Source§impl ParameterMode
impl ParameterMode
Sourcepub const ParameterModeUnspecified: Self = Self::PARAMETER_MODE_UNSPECIFIED
pub const ParameterModeUnspecified: Self = Self::PARAMETER_MODE_UNSPECIFIED
Idiomatic alias for Self::PARAMETER_MODE_UNSPECIFIED; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for ParameterMode
impl Clone for ParameterMode
Source§fn clone(&self) -> ParameterMode
fn clone(&self) -> ParameterMode
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 ParameterMode
Source§impl Debug for ParameterMode
impl Debug for ParameterMode
Source§impl Default for ParameterMode
impl Default for ParameterMode
Source§impl<'de> Deserialize<'de> for ParameterMode
impl<'de> Deserialize<'de> for ParameterMode
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 ParameterMode
impl Enumeration for ParameterMode
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 ParameterMode
Source§impl Hash for ParameterMode
impl Hash for ParameterMode
Source§impl PartialEq for ParameterMode
impl PartialEq for ParameterMode
Source§impl ProtoElemJson for ParameterMode
impl ProtoElemJson for ParameterMode
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 ParameterMode
impl Serialize for ParameterMode
impl StructuralPartialEq for ParameterMode
Auto Trait Implementations§
impl Freeze for ParameterMode
impl RefUnwindSafe for ParameterMode
impl Send for ParameterMode
impl Sync for ParameterMode
impl Unpin for ParameterMode
impl UnsafeUnpin for ParameterMode
impl UnwindSafe for ParameterMode
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