pub struct Rights {
pub attributes: RightsAttributes,
pub content: String,
}Expand description
The Rights element contains copyright and other intellectual property notices.
This is similar to the Dublin Core rights element. Words, music, and derivatives can have different types, so multiple Rights elements with different type attributes are supported.
Fields§
§attributes: RightsAttributesElement-specific attributes
content: StringElement-specific content
Trait Implementations§
Source§impl ElementDeserializer for Rights
impl ElementDeserializer for Rights
fn deserialize(element: &XmlElement) -> Result<Rights, String>
Source§impl ElementSerializer for Rights
impl ElementSerializer for Rights
fn serialize(element: &Rights) -> XmlElement
impl Eq for Rights
impl StructuralPartialEq for Rights
Auto Trait Implementations§
impl Freeze for Rights
impl RefUnwindSafe for Rights
impl Send for Rights
impl Sync for Rights
impl Unpin for Rights
impl UnwindSafe for Rights
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