pub struct ProductCreateAction { /* private fields */ }
Expand description
Native representation of the “create product” action payload
Implementations§
Source§impl ProductCreateAction
impl ProductCreateAction
pub fn product_namespace(&self) -> &ProductNamespace
pub fn product_id(&self) -> &str
pub fn owner(&self) -> &str
pub fn properties(&self) -> &[PropertyValue]
Trait Implementations§
Source§impl Clone for ProductCreateAction
impl Clone for ProductCreateAction
Source§fn clone(&self) -> ProductCreateAction
fn clone(&self) -> ProductCreateAction
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 ProductCreateAction
impl Debug for ProductCreateAction
Source§impl Default for ProductCreateAction
impl Default for ProductCreateAction
Source§fn default() -> ProductCreateAction
fn default() -> ProductCreateAction
Returns the “default value” for a type. Read more
Source§impl FromBytes<ProductCreateAction> for ProductCreateAction
impl FromBytes<ProductCreateAction> for ProductCreateAction
fn from_bytes(bytes: &[u8]) -> Result<ProductCreateAction, ProtoConversionError>
Source§impl FromNative<ProductCreateAction> for ProductCreateAction
impl FromNative<ProductCreateAction> for ProductCreateAction
fn from_native( native: ProductCreateAction, ) -> Result<Self, ProtoConversionError>
Source§impl FromProto<ProductCreateAction> for ProductCreateAction
impl FromProto<ProductCreateAction> for ProductCreateAction
fn from_proto(proto: ProductCreateAction) -> Result<Self, ProtoConversionError>
Source§impl IntoBytes for ProductCreateAction
impl IntoBytes for ProductCreateAction
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
Source§impl IntoNative<ProductCreateAction> for ProductCreateAction
impl IntoNative<ProductCreateAction> for ProductCreateAction
fn into_native(self) -> Result<T, ProtoConversionError>
Source§impl IntoProto<ProductCreateAction> for ProductCreateAction
impl IntoProto<ProductCreateAction> for ProductCreateAction
fn into_proto(self) -> Result<T, ProtoConversionError>
Source§impl PartialEq for ProductCreateAction
impl PartialEq for ProductCreateAction
impl StructuralPartialEq for ProductCreateAction
Auto Trait Implementations§
impl Freeze for ProductCreateAction
impl RefUnwindSafe for ProductCreateAction
impl Send for ProductCreateAction
impl Sync for ProductCreateAction
impl Unpin for ProductCreateAction
impl UnwindSafe for ProductCreateAction
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