Struct fluvio::metadata::smartmodule::SmartModuleMetadata
source · pub struct SmartModuleMetadata {
pub package: SmartModulePackage,
pub params: SmartModuleParams,
}
Fields§
§package: SmartModulePackage
§params: SmartModuleParams
Implementations§
source§impl SmartModuleMetadata
impl SmartModuleMetadata
sourcepub fn from_toml<T>(path: T) -> Result<SmartModuleMetadata, Error>
pub fn from_toml<T>(path: T) -> Result<SmartModuleMetadata, Error>
parse the metadata file and return the metadata
sourcepub fn from_bytes(bytedata: &[u8]) -> Result<SmartModuleMetadata, Error>
pub fn from_bytes(bytedata: &[u8]) -> Result<SmartModuleMetadata, Error>
parse the metadata bytes and return the metadata
Trait Implementations§
source§impl Clone for SmartModuleMetadata
impl Clone for SmartModuleMetadata
source§fn clone(&self) -> SmartModuleMetadata
fn clone(&self) -> SmartModuleMetadata
Returns a copy 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 SmartModuleMetadata
impl Debug for SmartModuleMetadata
source§impl Decoder for SmartModuleMetadata
impl Decoder for SmartModuleMetadata
source§impl Default for SmartModuleMetadata
impl Default for SmartModuleMetadata
source§fn default() -> SmartModuleMetadata
fn default() -> SmartModuleMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SmartModuleMetadata
impl<'de> Deserialize<'de> for SmartModuleMetadata
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SmartModuleMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SmartModuleMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encoder for SmartModuleMetadata
impl Encoder for SmartModuleMetadata
source§impl PartialEq for SmartModuleMetadata
impl PartialEq for SmartModuleMetadata
source§fn eq(&self, other: &SmartModuleMetadata) -> bool
fn eq(&self, other: &SmartModuleMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SmartModuleMetadata
impl Serialize for SmartModuleMetadata
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for SmartModuleMetadata
impl StructuralPartialEq for SmartModuleMetadata
Auto Trait Implementations§
impl Freeze for SmartModuleMetadata
impl RefUnwindSafe for SmartModuleMetadata
impl Send for SmartModuleMetadata
impl Sync for SmartModuleMetadata
impl Unpin for SmartModuleMetadata
impl UnwindSafe for SmartModuleMetadata
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.