pub struct ValidListingContent { /* private fields */ }Implementations§
Source§impl ValidListingContent
impl ValidListingContent
pub const fn try_new( content: ListingContent, policy: MarketplaceContentPolicy, ) -> DomainResult<Self>
pub const fn content(&self) -> &ListingContent
pub const fn policy(&self) -> &MarketplaceContentPolicy
Trait Implementations§
Source§impl Clone for ValidListingContent
impl Clone for ValidListingContent
Source§fn clone(&self) -> ValidListingContent
fn clone(&self) -> ValidListingContent
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 moreSource§impl Debug for ValidListingContent
impl Debug for ValidListingContent
Source§impl PartialEq for ValidListingContent
impl PartialEq for ValidListingContent
Source§fn eq(&self, other: &ValidListingContent) -> bool
fn eq(&self, other: &ValidListingContent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ValidListingContent
impl StructuralPartialEq for ValidListingContent
Auto Trait Implementations§
impl Freeze for ValidListingContent
impl RefUnwindSafe for ValidListingContent
impl Send for ValidListingContent
impl Sync for ValidListingContent
impl Unpin for ValidListingContent
impl UnsafeUnpin for ValidListingContent
impl UnwindSafe for ValidListingContent
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