Struct fluvio_sc_schema::smartmodule::SmartModulePackage
source · pub struct SmartModulePackage {
pub name: String,
pub group: String,
pub version: FluvioSemVersion,
pub api_version: FluvioSemVersion,
pub description: Option<String>,
pub license: Option<String>,
pub visibility: SmartModuleVisibility,
pub repository: Option<String>,
}
Expand description
SmartModule package definition
This is defined in the SmartModule.toml
in the root of the SmartModule project
Fields§
§name: String
§group: String
§version: FluvioSemVersion
§api_version: FluvioSemVersion
§description: Option<String>
§license: Option<String>
§visibility: SmartModuleVisibility
§repository: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for SmartModulePackage
impl Clone for SmartModulePackage
source§fn clone(&self) -> SmartModulePackage
fn clone(&self) -> SmartModulePackage
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 SmartModulePackage
impl Debug for SmartModulePackage
source§impl Decoder for SmartModulePackage
impl Decoder for SmartModulePackage
source§impl Default for SmartModulePackage
impl Default for SmartModulePackage
source§fn default() -> SmartModulePackage
fn default() -> SmartModulePackage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SmartModulePackage
impl<'de> Deserialize<'de> for SmartModulePackage
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SmartModulePackage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SmartModulePackage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encoder for SmartModulePackage
impl Encoder for SmartModulePackage
source§impl PartialEq for SmartModulePackage
impl PartialEq for SmartModulePackage
source§fn eq(&self, other: &SmartModulePackage) -> bool
fn eq(&self, other: &SmartModulePackage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SmartModulePackage
impl Serialize for SmartModulePackage
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 SmartModulePackage
impl StructuralPartialEq for SmartModulePackage
Auto Trait Implementations§
impl RefUnwindSafe for SmartModulePackage
impl Send for SmartModulePackage
impl Sync for SmartModulePackage
impl Unpin for SmartModulePackage
impl UnwindSafe for SmartModulePackage
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.