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