pub struct ScoreNotificationRef<'a>(/* private fields */);
Expand description
Reference to a deserialized ScoreNotification.
Implementations§
Source§impl<'a> ScoreNotificationRef<'a>
impl<'a> ScoreNotificationRef<'a>
Sourcepub fn score(&self) -> Result<ConsumerScoreRef<'a>>
pub fn score(&self) -> Result<ConsumerScoreRef<'a>>
Getter for the score
field.
Trait Implementations§
Source§impl<'a> Clone for ScoreNotificationRef<'a>
impl<'a> Clone for ScoreNotificationRef<'a>
Source§fn clone(&self) -> ScoreNotificationRef<'a>
fn clone(&self) -> ScoreNotificationRef<'a>
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<'a> Debug for ScoreNotificationRef<'a>
impl<'a> Debug for ScoreNotificationRef<'a>
Source§impl<'a> ReadAsRoot<'a> for ScoreNotificationRef<'a>
impl<'a> ReadAsRoot<'a> for ScoreNotificationRef<'a>
Source§impl<'a> TryFrom<ScoreNotificationRef<'a>> for ScoreNotification
impl<'a> TryFrom<ScoreNotificationRef<'a>> for ScoreNotification
impl<'a> Copy for ScoreNotificationRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScoreNotificationRef<'a>
impl<'a> RefUnwindSafe for ScoreNotificationRef<'a>
impl<'a> Send for ScoreNotificationRef<'a>
impl<'a> Sync for ScoreNotificationRef<'a>
impl<'a> Unpin for ScoreNotificationRef<'a>
impl<'a> UnwindSafe for ScoreNotificationRef<'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