[][src]Struct yamlette::model::yaml::binary::BinaryValue

pub struct BinaryValue { /* fields omitted */ }

Methods

impl BinaryValue[src]

pub fn new(
    value: Vec<u8>,
    styles: CommonStyles,
    alias: Option<Cow<'static, str>>
) -> BinaryValue
[src]

pub fn to_vec(self) -> Vec<u8>[src]

pub fn set_alias(&mut self, alias: Option<Cow<'static, str>>)[src]

pub fn take_alias(&mut self) -> Option<Cow<'static, str>>[src]

pub fn init_common_styles(&mut self, common_styles: CommonStyles)[src]

pub fn issue_tag(&self) -> bool[src]

pub fn set_issue_tag(&mut self, val: bool)[src]

Trait Implementations

impl Tagged for BinaryValue[src]

impl Chord for BinaryValue[src]

impl AsMut<Vec<u8>> for BinaryValue[src]

impl Clone for BinaryValue[src]

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

Performs copy-assignment from source. Read more

impl AsRef<Vec<u8>> for BinaryValue[src]

impl From<Vec<u8>> for BinaryValue[src]

impl From<BinaryValue> for TaggedValue[src]

impl Debug for BinaryValue[src]

Auto Trait Implementations

impl Send for BinaryValue

impl Sync for BinaryValue

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]