Home
runx-parser

runx_parser::tool

Structs §

RawToolManifestIr §

pub struct runx_parser::tool::RawToolManifestIr { /* ... */ }

Trait Implementations §

impl Borrow for RawToolManifestIr

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for RawToolManifestIr

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for RawToolManifestIr

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for RawToolManifestIr

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for RawToolManifestIr

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for RawToolManifestIr

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for RawToolManifestIr

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for RawToolManifestIr

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for RawToolManifestIr

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for RawToolManifestIr

Output

impl Clone for RawToolManifestIr

clone

fn clone(self: &Self) -> RawToolManifestIr

impl Debug for RawToolManifestIr

impl PartialEq for RawToolManifestIr

eq

fn eq(self: &Self, other: &RawToolManifestIr) -> bool

impl Serialize for RawToolManifestIr

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for RawToolManifestIr

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for RawToolManifestIr

impl Sync for RawToolManifestIr

impl Freeze for RawToolManifestIr

impl UnsafeUnpin for RawToolManifestIr

impl Unpin for RawToolManifestIr

impl UnwindSafe for RawToolManifestIr

impl RefUnwindSafe for RawToolManifestIr

impl DeserializeOwned for RawToolManifestIr

impl StructuralPartialEq for RawToolManifestIr

ValidatedTool §

pub struct runx_parser::tool::ValidatedTool { /* ... */ }

Trait Implementations §

impl Borrow for ValidatedTool

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ValidatedTool

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for ValidatedTool

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for ValidatedTool

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for ValidatedTool

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ValidatedTool

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for ValidatedTool

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for ValidatedTool

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ValidatedTool

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for ValidatedTool

Output

impl Clone for ValidatedTool

clone

fn clone(self: &Self) -> ValidatedTool

impl Debug for ValidatedTool

impl PartialEq for ValidatedTool

eq

fn eq(self: &Self, other: &ValidatedTool) -> bool

impl Serialize for ValidatedTool

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for ValidatedTool

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for ValidatedTool

impl Sync for ValidatedTool

impl Freeze for ValidatedTool

impl UnsafeUnpin for ValidatedTool

impl Unpin for ValidatedTool

impl UnwindSafe for ValidatedTool

impl RefUnwindSafe for ValidatedTool

impl DeserializeOwned for ValidatedTool

impl StructuralPartialEq for ValidatedTool

Functions §

parse_tool_manifest_yaml §

fn parse_tool_manifest_yaml(yaml: &str) -> Result<RawToolManifestIr, crate::ParseError>

parse_tool_manifest_json §

fn parse_tool_manifest_json(json: &str) -> Result<RawToolManifestIr, crate::ParseError>

validate_tool_manifest §

fn validate_tool_manifest(raw: RawToolManifestIr) -> Result<ValidatedTool, crate::ValidationError>