pub enum Location_LocationNamespace {
UNSET_TYPE = 0,
GS1 = 1,
}Variants§
Trait Implementations§
Source§impl Clone for Location_LocationNamespace
impl Clone for Location_LocationNamespace
Source§fn clone(&self) -> Location_LocationNamespace
fn clone(&self) -> Location_LocationNamespace
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 Location_LocationNamespace
impl Debug for Location_LocationNamespace
Source§impl Default for Location_LocationNamespace
impl Default for Location_LocationNamespace
Source§impl FromNative<LocationNamespace> for Location_LocationNamespace
impl FromNative<LocationNamespace> for Location_LocationNamespace
fn from_native( namespace: LocationNamespace, ) -> Result<Self, ProtoConversionError>
Source§impl FromProto<Location_LocationNamespace> for LocationNamespace
impl FromProto<Location_LocationNamespace> for LocationNamespace
fn from_proto( namespace: Location_LocationNamespace, ) -> Result<Self, ProtoConversionError>
Source§impl Hash for Location_LocationNamespace
impl Hash for Location_LocationNamespace
Source§impl IntoNative<LocationNamespace> for Location_LocationNamespace
impl IntoNative<LocationNamespace> for Location_LocationNamespace
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<Location_LocationNamespace> for LocationNamespace
impl IntoProto<Location_LocationNamespace> for LocationNamespace
fn into_proto(self) -> Result<T, ProtoConversionError>
Source§impl ProtobufEnum for Location_LocationNamespace
impl ProtobufEnum for Location_LocationNamespace
Source§fn from_i32(value: i32) -> Option<Location_LocationNamespace>
fn from_i32(value: i32) -> Option<Location_LocationNamespace>
Try to create an enum from
i32 value.
Return None if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for Location_LocationNamespace
impl ProtobufValue for Location_LocationNamespace
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for Location_LocationNamespace
impl Eq for Location_LocationNamespace
impl StructuralPartialEq for Location_LocationNamespace
Auto Trait Implementations§
impl Freeze for Location_LocationNamespace
impl RefUnwindSafe for Location_LocationNamespace
impl Send for Location_LocationNamespace
impl Sync for Location_LocationNamespace
impl Unpin for Location_LocationNamespace
impl UnwindSafe for Location_LocationNamespace
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