[][src]Enum yy_boss::cli::input::UtilityCommand

pub enum UtilityCommand {
    ProjectInfo,
    Create(CreateCommand),
    PrettyEventNames {
        event_names: Vec<String>,
    },
    CreateEvent {
        identifier: String,
        event_file_name: String,
    },
    DeleteEvent {
        identifier: String,
        event_file_name: String,
    },
    ScriptGmlPath {
        script_name: String,
    },
    EventGmlPath {
        object_name: String,
        event_file_name: String,
    },
    CanUseResourceName {
        identifier: String,
    },
    CanUseFolderName {
        parent_folder: ViewPathLocation,
        identifier: String,
    },
}

Utilities for the YypBoss to run. None of these commands will ever return an error.

Variants

ProjectInfo

Ask the project for basic info on how it should be ran.

This will return a ProjectMetaData struct as SerializedDataOutput. This is the same struct which is returned in the initial startup

PrettyEventNames

Fields of PrettyEventNames

event_names: Vec<String>
CreateEvent

Fields of CreateEvent

identifier: Stringevent_file_name: String
DeleteEvent

Fields of DeleteEvent

identifier: Stringevent_file_name: String
ScriptGmlPath

Fields of ScriptGmlPath

script_name: String
EventGmlPath

Fields of EventGmlPath

object_name: Stringevent_file_name: String
CanUseResourceName

Fields of CanUseResourceName

identifier: String
CanUseFolderName

Fields of CanUseFolderName

parent_folder: ViewPathLocationidentifier: String

Trait Implementations

impl Clone for UtilityCommand[src]

impl Debug for UtilityCommand[src]

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

impl Eq for UtilityCommand[src]

impl PartialEq<UtilityCommand> for UtilityCommand[src]

impl Serialize for UtilityCommand[src]

impl StructuralEq for UtilityCommand[src]

impl StructuralPartialEq for UtilityCommand[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,