Struct noah_api::xfr::XfrNotePoliciesRef
source · pub struct XfrNotePoliciesRef<'b> { /* private fields */ }Expand description
A reference of the policies.
Implementations§
source§impl<'b> XfrNotePoliciesRef<'b>
impl<'b> XfrNotePoliciesRef<'b>
sourcepub fn new(
inputs_tracing_policies: Vec<&'b TracingPolicies>,
inputs_sig_commitments: Vec<Option<&'b ACCommitment>>,
outputs_tracing_policies: Vec<&'b TracingPolicies>,
outputs_sig_commitments: Vec<Option<&'b ACCommitment>>
) -> XfrNotePoliciesRef<'b>
pub fn new(
inputs_tracing_policies: Vec<&'b TracingPolicies>,
inputs_sig_commitments: Vec<Option<&'b ACCommitment>>,
outputs_tracing_policies: Vec<&'b TracingPolicies>,
outputs_sig_commitments: Vec<Option<&'b ACCommitment>>
) -> XfrNotePoliciesRef<'b>
Create a new reference of the policies.
Trait Implementations§
source§impl<'b> Clone for XfrNotePoliciesRef<'b>
impl<'b> Clone for XfrNotePoliciesRef<'b>
source§fn clone(&self) -> XfrNotePoliciesRef<'b>
fn clone(&self) -> XfrNotePoliciesRef<'b>
Returns a copy 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<'b> Default for XfrNotePoliciesRef<'b>
impl<'b> Default for XfrNotePoliciesRef<'b>
source§fn default() -> XfrNotePoliciesRef<'b>
fn default() -> XfrNotePoliciesRef<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> RefUnwindSafe for XfrNotePoliciesRef<'b>
impl<'b> Send for XfrNotePoliciesRef<'b>
impl<'b> Sync for XfrNotePoliciesRef<'b>
impl<'b> Unpin for XfrNotePoliciesRef<'b>
impl<'b> UnwindSafe for XfrNotePoliciesRef<'b>
Blanket Implementations§
§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more