pub struct AccumulateParamsRef<'a> {
pub context: OnChainContext,
pub results: &'a [AccumulateItem],
}Fields§
§context: OnChainContext§results: &'a [AccumulateItem]Trait Implementations§
Source§impl<'a> Debug for AccumulateParamsRef<'a>
impl<'a> Debug for AccumulateParamsRef<'a>
Source§impl<'a> Encode for AccumulateParamsRef<'a>
impl<'a> Encode for AccumulateParamsRef<'a>
Source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
Source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
Source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
Source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
impl<'a> EncodeLike for AccumulateParamsRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccumulateParamsRef<'a>
impl<'a> RefUnwindSafe for AccumulateParamsRef<'a>
impl<'a> Send for AccumulateParamsRef<'a>
impl<'a> Sync for AccumulateParamsRef<'a>
impl<'a> Unpin for AccumulateParamsRef<'a>
impl<'a> UnwindSafe for AccumulateParamsRef<'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