pub struct ProductList { /* private fields */ }
Expand description
Native representation of a list of Product
s
Implementations
sourceimpl ProductList
impl ProductList
pub fn products(&self) -> &[Product]
pub fn into_builder(self) -> ProductListBuilder
Trait Implementations
sourceimpl Clone for ProductList
impl Clone for ProductList
sourcefn clone(&self) -> ProductList
fn clone(&self) -> ProductList
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 ProductList
impl Debug for ProductList
sourceimpl FromBytes<ProductList> for ProductList
impl FromBytes<ProductList> for ProductList
fn from_bytes(bytes: &[u8]) -> Result<ProductList, ProtoConversionError>
sourceimpl FromNative<ProductList> for ProductList
impl FromNative<ProductList> for ProductList
fn from_native(product_list: ProductList) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<ProductList> for ProductList
impl FromProto<ProductList> for ProductList
fn from_proto(product_list: ProductList) -> Result<Self, ProtoConversionError>
sourceimpl IntoBytes for ProductList
impl IntoBytes for ProductList
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
sourceimpl IntoNative<ProductList> for ProductList
impl IntoNative<ProductList> for ProductList
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<ProductList> for ProductList
impl IntoProto<ProductList> for ProductList
fn into_proto(self) -> Result<T, ProtoConversionError>
sourceimpl PartialEq<ProductList> for ProductList
impl PartialEq<ProductList> for ProductList
sourcefn eq(&self, other: &ProductList) -> bool
fn eq(&self, other: &ProductList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProductList) -> bool
fn ne(&self, other: &ProductList) -> bool
This method tests for !=
.
impl StructuralPartialEq for ProductList
Auto Trait Implementations
impl RefUnwindSafe for ProductList
impl Send for ProductList
impl Sync for ProductList
impl Unpin for ProductList
impl UnwindSafe for ProductList
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