pub struct ActionNode<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> ActionNode<'a>
impl<'a> ActionNode<'a>
pub const VT_NODE_ID: VOffsetT = 4
pub const VT_NAME: VOffsetT = 6
pub const VT_SOURCE: VOffsetT = 8
pub const VT_METHOD: VOffsetT = 10
pub const VT_INPUT_TYPE: VOffsetT = 12
pub const VT_OUTPUT_TYPE: VOffsetT = 14
pub const VT_OPTIMISTIC: VOffsetT = 16
pub const VT_INVALIDATES: VOffsetT = 18
pub const VT_INVALIDATE_TAGS: VOffsetT = 20
pub const VT_ERROR_HANDLING: VOffsetT = 22
pub const VT_AUTH_REQUIRED: VOffsetT = 24
pub const VT_REQUIRED_ROLES: VOffsetT = 26
pub const VT_CSRF_PROTECTED: VOffsetT = 28
pub const VT_IDEMPOTENT: VOffsetT = 30
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 ActionNodeArgs<'args>, ) -> WIPOffset<ActionNode<'bldr>>
pub fn node_id(&self) -> &'a str
pub fn name(&self) -> Option<&'a str>
Sourcepub fn source(&self) -> DataSource<'a>
pub fn source(&self) -> DataSource<'a>
Endpoint configuration (reuses DataSource from state.fbs).
pub fn method(&self) -> HttpMethod
Sourcepub fn input_type(&self) -> Option<&'a str>
pub fn input_type(&self) -> Option<&'a str>
Input/output type hints for the compiler.
pub fn output_type(&self) -> Option<&'a str>
Sourcepub fn optimistic(&self) -> Option<OptimisticConfig<'a>>
pub fn optimistic(&self) -> Option<OptimisticConfig<'a>>
Optimistic update behavior.
Sourcepub fn invalidates(&self) -> Option<Vector<'a, ForwardsUOffset<&'a str>>>
pub fn invalidates(&self) -> Option<Vector<'a, ForwardsUOffset<&'a str>>>
DataNode IDs to refetch after successful mutation.
Cache tags to invalidate (matches DataNode.cache_tags).
Sourcepub fn error_handling(&self) -> Option<ErrorHandling<'a>>
pub fn error_handling(&self) -> Option<ErrorHandling<'a>>
Error handling.
Sourcepub fn auth_required(&self) -> bool
pub fn auth_required(&self) -> bool
Auth requirements.
pub fn required_roles(&self) -> Option<Vector<'a, ForwardsUOffset<&'a str>>>
Sourcepub fn csrf_protected(&self) -> bool
pub fn csrf_protected(&self) -> bool
Security.
pub fn idempotent(&self) -> bool
Trait Implementations§
Source§impl<'a> Clone for ActionNode<'a>
impl<'a> Clone for ActionNode<'a>
Source§fn clone(&self) -> ActionNode<'a>
fn clone(&self) -> ActionNode<'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 ActionNode<'_>
impl Debug for ActionNode<'_>
Source§impl<'a> Follow<'a> for ActionNode<'a>
impl<'a> Follow<'a> for ActionNode<'a>
Source§impl<'a> PartialEq for ActionNode<'a>
impl<'a> PartialEq for ActionNode<'a>
Source§impl Verifiable for ActionNode<'_>
impl Verifiable for ActionNode<'_>
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 ActionNode<'a>
impl<'a> StructuralPartialEq for ActionNode<'a>
Auto Trait Implementations§
impl<'a> Freeze for ActionNode<'a>
impl<'a> RefUnwindSafe for ActionNode<'a>
impl<'a> Send for ActionNode<'a>
impl<'a> Sync for ActionNode<'a>
impl<'a> Unpin for ActionNode<'a>
impl<'a> UnsafeUnpin for ActionNode<'a>
impl<'a> UnwindSafe for ActionNode<'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