pub struct PublisherAttributes {
pub name: String,
pub publisher_id: u64,
pub slug: String,
}Expand description
Attributes for a publisher resource included alongside ordered product responses.
Fields§
§name: StringThe display name of the publisher.
publisher_id: u64The unique identifier of the publisher.
slug: StringThe URL slug for the publisher’s storefront page.
Trait Implementations§
Source§impl Clone for PublisherAttributes
impl Clone for PublisherAttributes
Source§fn clone(&self) -> PublisherAttributes
fn clone(&self) -> PublisherAttributes
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 PublisherAttributes
impl Debug for PublisherAttributes
Source§impl<'de> Deserialize<'de> for PublisherAttributes
impl<'de> Deserialize<'de> for PublisherAttributes
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
Auto Trait Implementations§
impl Freeze for PublisherAttributes
impl RefUnwindSafe for PublisherAttributes
impl Send for PublisherAttributes
impl Sync for PublisherAttributes
impl Unpin for PublisherAttributes
impl UnsafeUnpin for PublisherAttributes
impl UnwindSafe for PublisherAttributes
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