Struct teaclave_types::FunctionArguments
source · [−]pub struct FunctionArguments { /* private fields */ }
Implementations
sourceimpl FunctionArguments
impl FunctionArguments
pub fn from_json(json: Value) -> Result<Self>
pub fn from_map(map: HashMap<String, String>) -> Self
pub fn inner(&self) -> &Map<String, Value>
pub fn inner_mut(&mut self) -> &mut Map<String, Value>
pub fn get(&self, key: &str) -> Result<&Value>
pub fn into_vec(self) -> Vec<String>
pub fn into_string(self) -> String
pub fn insert(&mut self, k: String, v: Value) -> Option<Value>
Trait Implementations
sourceimpl Clone for FunctionArguments
impl Clone for FunctionArguments
sourcefn clone(&self) -> FunctionArguments
fn clone(&self) -> FunctionArguments
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FunctionArguments
impl Debug for FunctionArguments
sourceimpl Default for FunctionArguments
impl Default for FunctionArguments
sourcefn default() -> FunctionArguments
fn default() -> FunctionArguments
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FunctionArguments
impl<'de> Deserialize<'de> for FunctionArguments
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<HashMap<String, String, RandomState>> for FunctionArguments
impl From<HashMap<String, String, RandomState>> for FunctionArguments
sourceimpl Serialize for FunctionArguments
impl Serialize for FunctionArguments
Auto Trait Implementations
impl RefUnwindSafe for FunctionArguments
impl Send for FunctionArguments
impl Sync for FunctionArguments
impl Unpin for FunctionArguments
impl UnwindSafe for FunctionArguments
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more