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§
Source§impl Clone for CollectionFeatures
impl Clone for CollectionFeatures
Source§fn clone(&self) -> CollectionFeatures
fn clone(&self) -> CollectionFeatures
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 CollectionFeatures
impl Debug for CollectionFeatures
Source§impl Default for CollectionFeatures
impl Default for CollectionFeatures
Source§fn default() -> CollectionFeatures
fn default() -> CollectionFeatures
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionFeatures
impl<'de> Deserialize<'de> for CollectionFeatures
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 CollectionFeatures
impl PartialEq for CollectionFeatures
Source§impl Serialize for CollectionFeatures
impl Serialize for CollectionFeatures
impl Copy for CollectionFeatures
impl StructuralPartialEq for CollectionFeatures
Auto Trait Implementations§
impl Freeze for CollectionFeatures
impl RefUnwindSafe for CollectionFeatures
impl Send for CollectionFeatures
impl Sync for CollectionFeatures
impl Unpin for CollectionFeatures
impl UnwindSafe for CollectionFeatures
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