pub struct AttributeRef {
pub name: String,
pub value: Option<String>,
pub target_type: Option<String>,
pub target_id: Option<String>,
}Fields§
§name: String§value: Option<String>§target_type: Option<String>§target_id: Option<String>Trait Implementations§
Source§impl Clone for AttributeRef
impl Clone for AttributeRef
Source§fn clone(&self) -> AttributeRef
fn clone(&self) -> AttributeRef
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 AttributeRef
impl Debug for AttributeRef
Source§impl<'de> Deserialize<'de> for AttributeRef
impl<'de> Deserialize<'de> for AttributeRef
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 AttributeRef
impl RefUnwindSafe for AttributeRef
impl Send for AttributeRef
impl Sync for AttributeRef
impl Unpin for AttributeRef
impl UnsafeUnpin for AttributeRef
impl UnwindSafe for AttributeRef
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