fuel_tx::field

Trait Outputs

source
pub trait Outputs {
    // Required methods
    fn outputs(&self) -> &Vec<Output>;
    fn outputs_mut(&mut self) -> &mut Vec<Output>;
    fn outputs_offset(&self) -> usize;
    fn outputs_offset_at(&self, idx: usize) -> Option<usize>;
}

Required Methods§

source

fn outputs(&self) -> &Vec<Output>

source

fn outputs_mut(&mut self) -> &mut Vec<Output>

source

fn outputs_offset(&self) -> usize

source

fn outputs_offset_at(&self, idx: usize) -> Option<usize>

Returns the offset to the Output at idx index, if any.

Implementors§

source§

impl<Body, MetadataBody> Outputs for ChargeableTransaction<Body, MetadataBody>
where Body: BodyConstraints, Self: ChargeableBody<Body>,