pub struct EffectNode<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> EffectNode<'a>
impl<'a> EffectNode<'a>
pub const VT_NODE_ID: VOffsetT = 4
pub const VT_NAME: VOffsetT = 6
pub const VT_EFFECT_TYPE: VOffsetT = 8
pub const VT_CONFIG: VOffsetT = 10
pub const VT_API_SOURCE: VOffsetT = 12
pub const VT_IDEMPOTENT: VOffsetT = 14
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args EffectNodeArgs<'args>, ) -> WIPOffset<EffectNode<'bldr>>
pub fn node_id(&self) -> &'a str
pub fn name(&self) -> Option<&'a str>
pub fn effect_type(&self) -> EffectType
Sourcepub fn config(&self) -> Option<Vector<'a, ForwardsUOffset<KeyValue<'a>>>>
pub fn config(&self) -> Option<Vector<'a, ForwardsUOffset<KeyValue<'a>>>>
Configuration payload (JSON-like key-value pairs).
Sourcepub fn api_source(&self) -> Option<DataSource<'a>>
pub fn api_source(&self) -> Option<DataSource<'a>>
For ApiCall effects — the endpoint and method.
Sourcepub fn idempotent(&self) -> bool
pub fn idempotent(&self) -> bool
Whether this effect is idempotent (safe to retry).
Trait Implementations§
Source§impl<'a> Clone for EffectNode<'a>
impl<'a> Clone for EffectNode<'a>
Source§fn clone(&self) -> EffectNode<'a>
fn clone(&self) -> EffectNode<'a>
Returns a duplicate 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 EffectNode<'_>
impl Debug for EffectNode<'_>
Source§impl<'a> Follow<'a> for EffectNode<'a>
impl<'a> Follow<'a> for EffectNode<'a>
Source§impl<'a> PartialEq for EffectNode<'a>
impl<'a> PartialEq for EffectNode<'a>
Source§impl Verifiable for EffectNode<'_>
impl Verifiable for EffectNode<'_>
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl<'a> Copy for EffectNode<'a>
impl<'a> StructuralPartialEq for EffectNode<'a>
Auto Trait Implementations§
impl<'a> Freeze for EffectNode<'a>
impl<'a> RefUnwindSafe for EffectNode<'a>
impl<'a> Send for EffectNode<'a>
impl<'a> Sync for EffectNode<'a>
impl<'a> Unpin for EffectNode<'a>
impl<'a> UnsafeUnpin for EffectNode<'a>
impl<'a> UnwindSafe for EffectNode<'a>
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