[][src]Struct librojo::rbx_session::MetadataPerInstance

pub struct MetadataPerInstance {
    pub ignore_unknown_instances: bool,
    pub source_path: Option<PathBuf>,
    pub project_definition: Option<(String, ProjectNode)>,
}

source_path or project_definition or both must both be Some.

Fields

ignore_unknown_instances: boolsource_path: Option<PathBuf>

The path on the filesystem that the instance was read from the filesystem if it came from the filesystem.

project_definition: Option<(String, ProjectNode)>

Information about the instance that came from the project that defined it, if that's where it was defined.

A key-value pair where the key should be the name of the instance and the value is the ProjectNode from the instance's project.

Trait Implementations

impl PartialEq<MetadataPerInstance> for MetadataPerInstance[src]

impl Default for MetadataPerInstance[src]

impl Clone for MetadataPerInstance[src]

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

Performs copy-assignment from source. Read more

impl Debug for MetadataPerInstance[src]

impl Serialize for MetadataPerInstance[src]

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

Auto Trait Implementations

Blanket Implementations

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.

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

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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