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<PublisherRestriction> for PublisherRestriction
impl PartialEq<PublisherRestriction> 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<PublisherRestriction> for PublisherRestriction
impl PartialOrd<PublisherRestriction> 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 more