pub struct Attribute {
pub name: Namespace,
pub parameters: Vec<Parameter>,
}Fields§
§name: Namespace§parameters: Vec<Parameter>Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Attribute
impl<'de> Deserialize<'de> for Attribute
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 ObjectView for Attribute
impl ObjectView for Attribute
source§fn keys<'liquid_derive_k>(
&'liquid_derive_k self
) -> Box<dyn Iterator<Item = KStringCow<'liquid_derive_k>> + 'liquid_derive_k>
fn keys<'liquid_derive_k>( &'liquid_derive_k self ) -> Box<dyn Iterator<Item = KStringCow<'liquid_derive_k>> + 'liquid_derive_k>
Keys available for lookup.
source§fn values<'liquid_derive_k>(
&'liquid_derive_k self
) -> Box<dyn Iterator<Item = &'liquid_derive_k dyn ValueView> + 'liquid_derive_k>
fn values<'liquid_derive_k>( &'liquid_derive_k self ) -> Box<dyn Iterator<Item = &'liquid_derive_k dyn ValueView> + 'liquid_derive_k>
Keys available for lookup.
source§fn iter<'liquid_derive_k>(
&'liquid_derive_k self
) -> Box<dyn Iterator<Item = (KStringCow<'liquid_derive_k>, &'liquid_derive_k dyn ValueView)> + 'liquid_derive_k>
fn iter<'liquid_derive_k>( &'liquid_derive_k self ) -> Box<dyn Iterator<Item = (KStringCow<'liquid_derive_k>, &'liquid_derive_k dyn ValueView)> + 'liquid_derive_k>
Returns an iterator .
source§fn contains_key(&self, index: &str) -> bool
fn contains_key(&self, index: &str) -> bool
Access a contained
BoxedValue.Auto Trait Implementations§
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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