pub enum HashBlockConfig {
Hash {
input: InputPortName,
output: Option<OutputPortName>,
hash: OutputPortName,
algorithm: Option<HashAlgorithm>,
},
}Variants§
Hash
Fields
§
input: InputPortName§
output: Option<OutputPortName>§
hash: OutputPortName§
algorithm: Option<HashAlgorithm>Trait Implementations§
Source§impl BlockConnections for HashBlockConfig
impl BlockConnections for HashBlockConfig
fn output_connections(&self) -> Vec<(&'static str, Option<OutputPortName>)>
fn input_connections(&self) -> Vec<(&'static str, Option<InputPortName>)>
Source§impl BlockInstantiation for HashBlockConfig
impl BlockInstantiation for HashBlockConfig
Source§impl Clone for HashBlockConfig
impl Clone for HashBlockConfig
Source§fn clone(&self) -> HashBlockConfig
fn clone(&self) -> HashBlockConfig
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 HashBlockConfig
impl Debug for HashBlockConfig
Source§impl<'de> Deserialize<'de> for HashBlockConfig
impl<'de> Deserialize<'de> for HashBlockConfig
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 Named for HashBlockConfig
impl Named for HashBlockConfig
Auto Trait Implementations§
impl Freeze for HashBlockConfig
impl RefUnwindSafe for HashBlockConfig
impl Send for HashBlockConfig
impl Sync for HashBlockConfig
impl Unpin for HashBlockConfig
impl UnwindSafe for HashBlockConfig
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