pub struct ScanConstructIntentMapping {
pub construct_id: &'static str,
pub tier: &'static str,
pub classes: &'static [ScanConstructIntentClass],
pub required_intents: &'static [DescriptorIntentKind],
pub verifier_fragment_id: Option<&'static str>,
}Fields§
§construct_id: &'static str§tier: &'static str§classes: &'static [ScanConstructIntentClass]§required_intents: &'static [DescriptorIntentKind]§verifier_fragment_id: Option<&'static str>Implementations§
Source§impl ScanConstructIntentMapping
impl ScanConstructIntentMapping
pub fn requires_verifier_fragment(self) -> bool
pub fn includes_class(self, class: ScanConstructIntentClass) -> bool
Trait Implementations§
Source§impl Clone for ScanConstructIntentMapping
impl Clone for ScanConstructIntentMapping
Source§fn clone(&self) -> ScanConstructIntentMapping
fn clone(&self) -> ScanConstructIntentMapping
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScanConstructIntentMapping
Source§impl Debug for ScanConstructIntentMapping
impl Debug for ScanConstructIntentMapping
impl Eq for ScanConstructIntentMapping
Source§impl Hash for ScanConstructIntentMapping
impl Hash for ScanConstructIntentMapping
impl StructuralPartialEq for ScanConstructIntentMapping
Auto Trait Implementations§
impl Freeze for ScanConstructIntentMapping
impl RefUnwindSafe for ScanConstructIntentMapping
impl Send for ScanConstructIntentMapping
impl Sync for ScanConstructIntentMapping
impl Unpin for ScanConstructIntentMapping
impl UnsafeUnpin for ScanConstructIntentMapping
impl UnwindSafe for ScanConstructIntentMapping
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.