pub struct EncodedCallView {
pub args_hash: Fr,
pub function_selector: Fr,
pub target_address: Fr,
pub is_public: bool,
pub hide_msg_sender: bool,
pub is_static: bool,
}Expand description
Borrowed view of an encoded function call.
Fields§
§args_hash: FrArguments hash for the call.
function_selector: FrFunction selector as a field.
target_address: FrTarget address as a field.
is_public: boolWhether the call is public.
hide_msg_sender: boolWhether the msg sender is hidden.
is_static: boolWhether the call is static.
Trait Implementations§
Source§impl Clone for EncodedCallView
impl Clone for EncodedCallView
Source§fn clone(&self) -> EncodedCallView
fn clone(&self) -> EncodedCallView
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 EncodedCallView
impl Debug for EncodedCallView
impl Copy for EncodedCallView
Auto Trait Implementations§
impl Freeze for EncodedCallView
impl RefUnwindSafe for EncodedCallView
impl Send for EncodedCallView
impl Sync for EncodedCallView
impl Unpin for EncodedCallView
impl UnwindSafe for EncodedCallView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more