[][src]Struct yamlette::model::yaml::pairs::Pairs

pub struct Pairs;

Methods

impl Pairs[src]

pub fn get_tag() -> Cow<'static, str>[src]

Trait Implementations

impl Model for Pairs[src]

fn is_collection(&self) -> bool[src]

fn is_sequence(&self) -> bool[src]

fn is_metamodel(&self) -> bool[src]

fn is_decodable(&self) -> bool[src]

fn is_encodable(&self) -> bool[src]

fn has_default(&self) -> bool[src]

fn get_default(&self) -> TaggedValue[src]

fn meta_init(
    &self,
    _anchor: Option<String>,
    _tag: Option<String>,
    _value: &[u8]
) -> Result<TaggedValue, ()>
[src]

fn decode(&self, _explicit: bool, _value: &[u8]) -> Result<TaggedValue, ()>[src]

fn decode11(&self, explicit: bool, value: &[u8]) -> Result<TaggedValue, ()>[src]

fn encode(
    &self,
    _renderer: &Renderer,
    _value: TaggedValue,
    _tags: &mut dyn Iterator<Item = &(Cow<'static, str>, Cow<'static, str>)>
) -> Result<Rope, TaggedValue>
[src]

impl Copy for Pairs[src]

impl Clone for Pairs[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Pairs

impl Sync for Pairs

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]