pub struct StorefrontAttributes {
pub default_language_tag: String,
pub explicit_content_policy: ExplicitContentPolicy,
pub name: String,
pub supported_language_tags: Vec<String>,
}
Expand description
Storefront attributes
Fields§
§default_language_tag: String
The default supported RFC4646 language tag for the storefront
explicit_content_policy: ExplicitContentPolicy
Attribute indicating the level that this storefront can display explicit content
name: String
The localized name of the storefront
The supported RFC4646 language tags for the storefront
Trait Implementations§
Source§impl Clone for StorefrontAttributes
impl Clone for StorefrontAttributes
Source§fn clone(&self) -> StorefrontAttributes
fn clone(&self) -> StorefrontAttributes
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 StorefrontAttributes
impl Debug for StorefrontAttributes
Source§impl<'de> Deserialize<'de> for StorefrontAttributes
impl<'de> Deserialize<'de> for StorefrontAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for StorefrontAttributes
impl Hash for StorefrontAttributes
Source§impl PartialEq for StorefrontAttributes
impl PartialEq for StorefrontAttributes
Source§impl Serialize for StorefrontAttributes
impl Serialize for StorefrontAttributes
impl Eq for StorefrontAttributes
impl StructuralPartialEq for StorefrontAttributes
Auto Trait Implementations§
impl Freeze for StorefrontAttributes
impl RefUnwindSafe for StorefrontAttributes
impl Send for StorefrontAttributes
impl Sync for StorefrontAttributes
impl Unpin for StorefrontAttributes
impl UnwindSafe for StorefrontAttributes
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