pub struct Offered<'a> {
pub token: KindToken,
pub template: &'a Template,
pub annotations: &'a BTreeMap<String, Value>,
pub frame: bool,
}Expand description
One resource of the required interface’s revision, as §2.2 reads it.
Fields§
§token: KindToken§template: &'a Template§annotations: &'a BTreeMap<String, Value>Its resolved annotations (core §9.3).
frame: boolWhether it is a frame resource (core §7.7), which §2.2’s check 6 counts as none and check 9 refuses.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Offered<'a>
impl<'a> Freeze for Offered<'a>
impl<'a> Move for Offered<'a>
impl<'a> RefUnwindSafe for Offered<'a>
impl<'a> Send for Offered<'a>
impl<'a> Sync for Offered<'a>
impl<'a> Unpin for Offered<'a>
impl<'a> UnsafeUnpin for Offered<'a>
impl<'a> UnwindSafe for Offered<'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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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