Struct ligature::Dataset[][src]

pub struct Dataset(_);

A string that represents a Dataset by name. Currently can only be ASCII text separated by /

Implementations

impl Dataset[src]

pub fn new(name: &str) -> Result<Dataset, LigatureError>[src]

Creates a new Dataset and returns a Result based on if it is valid or not.

pub fn name(&self) -> &str[src]

Returns the name of the given Dataset.

Trait Implementations

impl Clone for Dataset[src]

impl Debug for Dataset[src]

impl<'de> Deserialize<'de> for Dataset[src]

impl Eq for Dataset[src]

impl Ord for Dataset[src]

impl PartialEq<Dataset> for Dataset[src]

impl PartialOrd<Dataset> for Dataset[src]

impl Serialize for Dataset[src]

impl StructuralEq for Dataset[src]

impl StructuralPartialEq for Dataset[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.