pub struct LocationCreateAction { /* private fields */ }Expand description
Native representation of the “create location” action payload
Implementations
sourceimpl LocationCreateAction
impl LocationCreateAction
pub fn namespace(&self) -> &LocationNamespace
pub fn location_id(&self) -> &str
pub fn owner(&self) -> &str
pub fn properties(&self) -> &[PropertyValue]
Trait Implementations
sourceimpl Clone for LocationCreateAction
impl Clone for LocationCreateAction
sourcefn clone(&self) -> LocationCreateAction
fn clone(&self) -> LocationCreateAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LocationCreateAction
impl Debug for LocationCreateAction
sourceimpl Default for LocationCreateAction
impl Default for LocationCreateAction
sourcefn default() -> LocationCreateAction
fn default() -> LocationCreateAction
Returns the “default value” for a type. Read more
sourceimpl FromBytes<LocationCreateAction> for LocationCreateAction
impl FromBytes<LocationCreateAction> for LocationCreateAction
fn from_bytes(
bytes: &[u8]
) -> Result<LocationCreateAction, ProtoConversionError>
sourceimpl FromNative<LocationCreateAction> for LocationCreateAction
impl FromNative<LocationCreateAction> for LocationCreateAction
fn from_native(
native: LocationCreateAction
) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<LocationCreateAction> for LocationCreateAction
impl FromProto<LocationCreateAction> for LocationCreateAction
fn from_proto(proto: LocationCreateAction) -> Result<Self, ProtoConversionError>
sourceimpl IntoBytes for LocationCreateAction
impl IntoBytes for LocationCreateAction
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
sourceimpl IntoNative<LocationCreateAction> for LocationCreateAction
impl IntoNative<LocationCreateAction> for LocationCreateAction
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<LocationCreateAction> for LocationCreateAction
impl IntoProto<LocationCreateAction> for LocationCreateAction
fn into_proto(self) -> Result<T, ProtoConversionError>
sourceimpl PartialEq<LocationCreateAction> for LocationCreateAction
impl PartialEq<LocationCreateAction> for LocationCreateAction
sourcefn eq(&self, other: &LocationCreateAction) -> bool
fn eq(&self, other: &LocationCreateAction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LocationCreateAction) -> bool
fn ne(&self, other: &LocationCreateAction) -> bool
This method tests for !=.
impl StructuralPartialEq for LocationCreateAction
Auto Trait Implementations
impl RefUnwindSafe for LocationCreateAction
impl Send for LocationCreateAction
impl Sync for LocationCreateAction
impl Unpin for LocationCreateAction
impl UnwindSafe for LocationCreateAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more