Struct wasmflow_interface::CollectionFeatures
source · [−]pub struct CollectionFeatures {
pub streaming: bool,
pub stateful: bool,
pub version: CollectionVersion,
}
Expand description
The Wasmflow features this collection supports.
Fields
streaming: bool
Whether or not this collection’s components accept streaming input or produce streaming output.
stateful: bool
Whether or not this collection has a persistent state or context.
version: CollectionVersion
The version of this component.
Implementations
Trait Implementations
sourceimpl Clone for CollectionFeatures
impl Clone for CollectionFeatures
sourcefn clone(&self) -> CollectionFeatures
fn clone(&self) -> CollectionFeatures
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CollectionFeatures
impl Debug for CollectionFeatures
sourceimpl Default for CollectionFeatures
impl Default for CollectionFeatures
sourcefn default() -> CollectionFeatures
fn default() -> CollectionFeatures
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CollectionFeatures
impl<'de> Deserialize<'de> for CollectionFeatures
sourcefn 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
sourceimpl PartialEq<CollectionFeatures> for CollectionFeatures
impl PartialEq<CollectionFeatures> for CollectionFeatures
sourcefn eq(&self, other: &CollectionFeatures) -> bool
fn eq(&self, other: &CollectionFeatures) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CollectionFeatures) -> bool
fn ne(&self, other: &CollectionFeatures) -> bool
This method tests for !=
.
sourceimpl Serialize for CollectionFeatures
impl Serialize for CollectionFeatures
impl Copy for CollectionFeatures
impl StructuralPartialEq for CollectionFeatures
Auto Trait Implementations
impl RefUnwindSafe for CollectionFeatures
impl Send for CollectionFeatures
impl Sync for CollectionFeatures
impl Unpin for CollectionFeatures
impl UnwindSafe for CollectionFeatures
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more