runx_sdk::client
Structs §
RunxClientOptions §
Trait Implementations §
impl Borrow for RunxClientOptions
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for RunxClientOptions
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for RunxClientOptions
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for RunxClientOptions
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for RunxClientOptions
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for RunxClientOptions
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for RunxClientOptions
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for RunxClientOptions
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for RunxClientOptions
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for RunxClientOptions
Output
impl Clone for RunxClientOptions
clone
fn clone(self: &Self) -> RunxClientOptionsimpl Debug for RunxClientOptions
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for RunxClientOptions
eq
fn eq(self: &Self, other: &RunxClientOptions) -> boolimpl Default for RunxClientOptions
default
fn default() -> Selfimpl Send for RunxClientOptions
impl Sync for RunxClientOptions
impl Freeze for RunxClientOptions
impl UnsafeUnpin for RunxClientOptions
impl Unpin for RunxClientOptions
impl UnwindSafe for RunxClientOptions
impl RefUnwindSafe for RunxClientOptions
impl StructuralPartialEq for RunxClientOptions
impl Eq for RunxClientOptions
RunxClient §
Implementations §
impl RunxClient
new
fn new() -> Selfwith_command
fn with_command(command: Vec<String>) -> Selfwith_options
fn with_options(options: RunxClientOptions) -> Selfsearch_skills
fn search_skills( self: &Self, query: &str, source: Option<&str> ) -> RunxResult<Vec<SkillSearchResult>>run_skill
fn run_skill(self: &Self, skill_ref: &str, options: RunSkillOptions) -> RunxResult<RunxJsonReport>continue_run
fn continue_run( self: &Self, skill_ref: &str, run_id: &str, payload: ContinuePayload ) -> RunxResult<RunxJsonReport>run_json
fn run_json(self: &Self, args: Vec<String>, stdin: Option<String>) -> RunxResult<JsonObject>Trait Implementations §
impl Borrow for RunxClient
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for RunxClient
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for RunxClient
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for RunxClient
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for RunxClient
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for RunxClient
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for RunxClient
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for RunxClient
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for RunxClient
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for RunxClient
Output
impl Clone for RunxClient
clone
fn clone(self: &Self) -> RunxClientimpl Debug for RunxClient
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for RunxClient
eq
fn eq(self: &Self, other: &RunxClient) -> boolimpl Default for RunxClient
default
fn default() -> Selfimpl Send for RunxClient
impl Sync for RunxClient
impl Freeze for RunxClient
impl UnsafeUnpin for RunxClient
impl Unpin for RunxClient
impl UnwindSafe for RunxClient
impl RefUnwindSafe for RunxClient
impl StructuralPartialEq for RunxClient
impl Eq for RunxClient
RunSkillOptions §
Implementations §
impl RunSkillOptions
with_input
fn with_input(self: Self, name: impl Into<String>, value: impl Into<String>) -> SelfTrait Implementations §
impl Borrow for RunSkillOptions
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for RunSkillOptions
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for RunSkillOptions
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for RunSkillOptions
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for RunSkillOptions
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for RunSkillOptions
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for RunSkillOptions
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for RunSkillOptions
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for RunSkillOptions
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for RunSkillOptions
Output
impl Clone for RunSkillOptions
clone
fn clone(self: &Self) -> RunSkillOptionsimpl Debug for RunSkillOptions
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Default for RunSkillOptions
default
fn default() -> RunSkillOptionsimpl PartialEq for RunSkillOptions
eq
fn eq(self: &Self, other: &RunSkillOptions) -> boolimpl Send for RunSkillOptions
impl Sync for RunSkillOptions
impl Freeze for RunSkillOptions
impl UnsafeUnpin for RunSkillOptions
impl Unpin for RunSkillOptions
impl UnwindSafe for RunSkillOptions
impl RefUnwindSafe for RunSkillOptions
impl StructuralPartialEq for RunSkillOptions
impl Eq for RunSkillOptions
ContinuePayload §
Implementations §
impl ContinuePayload
with_answer
fn with_answer(self: Self, id: impl Into<String>, value: JsonValue) -> Selfwith_approval
fn with_approval(self: Self, id: impl Into<String>, approved: bool) -> SelfTrait Implementations §
impl Borrow for ContinuePayload
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for ContinuePayload
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for ContinuePayload
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for ContinuePayload
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for ContinuePayload
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for ContinuePayload
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for ContinuePayload
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for ContinuePayload
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for ContinuePayload
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for ContinuePayload
Output
impl Clone for ContinuePayload
clone
fn clone(self: &Self) -> ContinuePayloadimpl Debug for ContinuePayload
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Default for ContinuePayload
default
fn default() -> ContinuePayloadimpl PartialEq for ContinuePayload
eq
fn eq(self: &Self, other: &ContinuePayload) -> boolimpl Send for ContinuePayload
impl Sync for ContinuePayload
impl Freeze for ContinuePayload
impl UnsafeUnpin for ContinuePayload
impl Unpin for ContinuePayload
impl UnwindSafe for ContinuePayload
impl RefUnwindSafe for ContinuePayload
impl StructuralPartialEq for ContinuePayload
RunxJsonReport §
Implementations §
impl RunxJsonReport
new
fn new(payload: JsonObject) -> Selfstatus
fn status(self: &Self) -> Option<&str>get
fn get(self: &Self, field: &str) -> Option<&JsonValue>into_payload
fn into_payload(self: Self) -> JsonObjectTrait Implementations §
impl Borrow for RunxJsonReport
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for RunxJsonReport
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for RunxJsonReport
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for RunxJsonReport
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for RunxJsonReport
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for RunxJsonReport
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for RunxJsonReport
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for RunxJsonReport
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for RunxJsonReport
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for RunxJsonReport
Output
impl Clone for RunxJsonReport
clone
fn clone(self: &Self) -> RunxJsonReportimpl Debug for RunxJsonReport
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for RunxJsonReport
eq
fn eq(self: &Self, other: &RunxJsonReport) -> boolimpl Send for RunxJsonReport
impl Sync for RunxJsonReport
impl Freeze for RunxJsonReport
impl UnsafeUnpin for RunxJsonReport
impl Unpin for RunxJsonReport
impl UnwindSafe for RunxJsonReport
impl RefUnwindSafe for RunxJsonReport
impl StructuralPartialEq for RunxJsonReport
SkillSearchResult §
Trait Implementations §
impl Borrow for SkillSearchResult
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for SkillSearchResult
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for SkillSearchResult
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for SkillSearchResult
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for SkillSearchResult
from
fn from(t: T) -> TReturns the argument unchanged.