Struct lib_tcstring::PublisherRestriction
source · pub struct PublisherRestriction {
pub purpose_id: u8,
pub restriction_type: PublisherRestrictionType,
pub vendor_list: Vec<u16>,
}
Expand description
Publisher restriction which overrides the specified purpose
Fields§
§purpose_id: u8
ID of publisher restricted purpose
restriction_type: PublisherRestrictionType
publisher restriction for this purpose, see PublisherRestrictionType
for more details
vendor_list: Vec<u16>
List of relevant vendors
Trait Implementations§
source§impl Clone for PublisherRestriction
impl Clone for PublisherRestriction
source§fn clone(&self) -> PublisherRestriction
fn clone(&self) -> PublisherRestriction
Returns a copy 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 PublisherRestriction
impl Debug for PublisherRestriction
source§impl Default for PublisherRestriction
impl Default for PublisherRestriction
source§fn default() -> PublisherRestriction
fn default() -> PublisherRestriction
Returns the “default value” for a type. Read more
source§impl Hash for PublisherRestriction
impl Hash for PublisherRestriction
source§impl PartialEq for PublisherRestriction
impl PartialEq for PublisherRestriction
source§fn eq(&self, other: &PublisherRestriction) -> bool
fn eq(&self, other: &PublisherRestriction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PublisherRestriction
impl PartialOrd for PublisherRestriction
source§fn partial_cmp(&self, other: &PublisherRestriction) -> Option<Ordering>
fn partial_cmp(&self, other: &PublisherRestriction) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for PublisherRestriction
impl StructuralPartialEq for PublisherRestriction
Auto Trait Implementations§
impl Freeze for PublisherRestriction
impl RefUnwindSafe for PublisherRestriction
impl Send for PublisherRestriction
impl Sync for PublisherRestriction
impl Unpin for PublisherRestriction
impl UnwindSafe for PublisherRestriction
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