pub struct Finalize {
pub identifier: Identifier,
pub input: Vec<Input>,
pub output: Vec<Output>,
pub output_type: Type,
pub block: Block,
pub span: Span,
pub id: NodeID,
}
Expand description
A finalize block.
Fields§
§identifier: Identifier
The finalize identifier.
input: Vec<Input>
The finalize block’s input parameters.
output: Vec<Output>
The finalize blocks’s output declaration.
output_type: Type
The finalize block’s output type.
block: Block
The body of the function.
span: Span
The entire span of the finalize block.
id: NodeID
The ID of the node.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Finalize
impl<'de> Deserialize<'de> for Finalize
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 From<Finalize> for FinalizeStub
impl From<Finalize> for FinalizeStub
source§impl From<FinalizeStub> for Finalize
impl From<FinalizeStub> for Finalize
source§fn from(finalize_stub: FinalizeStub) -> Self
fn from(finalize_stub: FinalizeStub) -> Self
Converts to this type from the input type.
source§impl PartialEq for Finalize
impl PartialEq for Finalize
impl Eq for Finalize
impl StructuralPartialEq for Finalize
Auto Trait Implementations§
impl Freeze for Finalize
impl !RefUnwindSafe for Finalize
impl Send for Finalize
impl !Sync for Finalize
impl Unpin for Finalize
impl UnwindSafe for Finalize
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<'de, T> DeserializeExt<'de> for Twhere
T: DeserializeOwned,
impl<'de, T> DeserializeExt<'de> for Twhere
T: DeserializeOwned,
fn take_from_value<D>(
value: &mut Value,
field: &str
) -> Result<T, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
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.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.