pub struct Plan<'a> {
    pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> Plan<'a>
 
impl<'a> Plan<'a>
pub const VT_ID: VOffsetT = 4u16
pub const VT_NAME: VOffsetT = 6u16
pub const VT_TEMPLATE: VOffsetT = 8u16
pub const VT_LINES: VOffsetT = 10u16
pub const VT_STATIONS: VOffsetT = 12u16
pub const VT_STATIONS_TO_IN_OUTS: VOffsetT = 14u16
pub const VT_SOURCES: VOffsetT = 16u16
pub const VT_DESTINATIONS: VOffsetT = 18u16
pub const VT_STATUS: VOffsetT = 20u16
pub const VT_TRANSFORMS: VOffsetT = 22u16
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 PlanArgs<'args>, ) -> WIPOffset<Plan<'bldr>>
pub fn id(&self) -> u64
pub fn name(&self) -> Option<&'a str>
pub fn template(&self) -> Option<&'a str>
pub fn lines( &self, ) -> Option<Vector<'a, ForwardsUOffset<KeyValueU64VecU64<'a>>>>
pub fn stations( &self, ) -> Option<Vector<'a, ForwardsUOffset<KeyValueU64Station<'a>>>>
pub fn stations_to_in_outs( &self, ) -> Option<Vector<'a, ForwardsUOffset<KeyValueU64VecU64<'a>>>>
pub fn sources( &self, ) -> Option<Vector<'a, ForwardsUOffset<KeyValueU64Source<'a>>>>
pub fn destinations( &self, ) -> Option<Vector<'a, ForwardsUOffset<KeyValueU64Destination<'a>>>>
pub fn status(&self) -> PlanStatus
pub fn transforms( &self, ) -> Option<Vector<'a, ForwardsUOffset<KeyValueStringTransform<'a>>>>
Trait Implementations§
Source§impl Verifiable for Plan<'_>
 
impl Verifiable for Plan<'_>
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 Plan<'a>
impl<'a> StructuralPartialEq for Plan<'a>
Auto Trait Implementations§
impl<'a> Freeze for Plan<'a>
impl<'a> RefUnwindSafe for Plan<'a>
impl<'a> Send for Plan<'a>
impl<'a> Sync for Plan<'a>
impl<'a> Unpin for Plan<'a>
impl<'a> UnwindSafe for Plan<'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