pub struct CodeContent {
pub encoding: Encoding,
pub entrypoint: String,
pub reference: ItemHash,
pub interface: Option<Interface>,
pub args: Option<Vec<String>>,
pub use_latest: bool,
}Fields§
§encoding: Encoding§entrypoint: String§reference: ItemHashReference to the STORE message containing the code.
interface: Option<Interface>§args: Option<Vec<String>>§use_latest: boolTrait Implementations§
Source§impl Clone for CodeContent
impl Clone for CodeContent
Source§fn clone(&self) -> CodeContent
fn clone(&self) -> CodeContent
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 CodeContent
impl Debug for CodeContent
Source§impl<'de> Deserialize<'de> for CodeContent
impl<'de> Deserialize<'de> for CodeContent
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 CodeContent
impl PartialEq for CodeContent
Source§fn eq(&self, other: &CodeContent) -> bool
fn eq(&self, other: &CodeContent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeContent
impl Serialize for CodeContent
impl StructuralPartialEq for CodeContent
Auto Trait Implementations§
impl Freeze for CodeContent
impl RefUnwindSafe for CodeContent
impl Send for CodeContent
impl Sync for CodeContent
impl Unpin for CodeContent
impl UnsafeUnpin for CodeContent
impl UnwindSafe for CodeContent
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