pub struct ExampleUpdateInput {
pub entry: Example,
pub action_hash: ActionHashB64,
}
Expand description
This is what is expected by a call to update_example
Fields§
§entry: Example
§action_hash: ActionHashB64
Trait Implementations§
Source§impl Clone for ExampleUpdateInput
impl Clone for ExampleUpdateInput
Source§fn clone(&self) -> ExampleUpdateInput
fn clone(&self) -> ExampleUpdateInput
Returns a duplicate of the value. Read more
1.0.0 · 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 ExampleUpdateInput
impl Debug for ExampleUpdateInput
Source§impl<'de> Deserialize<'de> for ExampleUpdateInput
impl<'de> Deserialize<'de> for ExampleUpdateInput
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 ExampleUpdateInput
impl PartialEq for ExampleUpdateInput
Source§impl Serialize for ExampleUpdateInput
impl Serialize for ExampleUpdateInput
Source§impl TryFrom<&ExampleUpdateInput> for SerializedBytes
impl TryFrom<&ExampleUpdateInput> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(
t: &ExampleUpdateInput,
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: &ExampleUpdateInput, ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<ExampleUpdateInput> for SerializedBytes
impl TryFrom<ExampleUpdateInput> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(
t: ExampleUpdateInput,
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: ExampleUpdateInput, ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<SerializedBytes> for ExampleUpdateInput
impl TryFrom<SerializedBytes> for ExampleUpdateInput
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(
sb: SerializedBytes,
) -> Result<ExampleUpdateInput, SerializedBytesError>
fn try_from( sb: SerializedBytes, ) -> Result<ExampleUpdateInput, SerializedBytesError>
Performs the conversion.
impl StructuralPartialEq for ExampleUpdateInput
Auto Trait Implementations§
impl Freeze for ExampleUpdateInput
impl RefUnwindSafe for ExampleUpdateInput
impl Send for ExampleUpdateInput
impl Sync for ExampleUpdateInput
impl Unpin for ExampleUpdateInput
impl UnwindSafe for ExampleUpdateInput
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