pub enum FunctionInput {
Plaintext(Plaintext),
Record(RecordRef),
DynamicRecord,
}Expand description
Valid types for function inputs. Aleo: transition inputs.
Variants§
Trait Implementations§
Source§impl Clone for FunctionInput
impl Clone for FunctionInput
Source§fn clone(&self) -> FunctionInput
fn clone(&self) -> FunctionInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FunctionInput
impl Debug for FunctionInput
Source§impl<'de> Deserialize<'de> for FunctionInput
impl<'de> Deserialize<'de> for FunctionInput
Source§fn 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
Source§impl PartialEq for FunctionInput
impl PartialEq for FunctionInput
Source§fn eq(&self, other: &FunctionInput) -> bool
fn eq(&self, other: &FunctionInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FunctionInput
impl Serialize for FunctionInput
impl Eq for FunctionInput
impl StructuralPartialEq for FunctionInput
Auto Trait Implementations§
impl Freeze for FunctionInput
impl RefUnwindSafe for FunctionInput
impl Send for FunctionInput
impl Sync for FunctionInput
impl Unpin for FunctionInput
impl UnsafeUnpin for FunctionInput
impl UnwindSafe for FunctionInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more