pub struct Endorsement { /* private fields */ }Implementations§
Source§impl Endorsement
impl Endorsement
pub const fn id(&self) -> ModId
pub fn domain_name(&self) -> &str
pub fn version(&self) -> Option<&str>
pub const fn date(&self) -> UtcDateTime
pub const fn endorsed_status(&self) -> EndorseStatus
pub const fn is_endorsed(&self) -> bool
Trait Implementations§
Source§impl Debug for Endorsement
impl Debug for Endorsement
Source§impl<'de> Deserialize<'de> for Endorsement
impl<'de> Deserialize<'de> for Endorsement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Endorsement
impl RefUnwindSafe for Endorsement
impl Send for Endorsement
impl Sync for Endorsement
impl Unpin for Endorsement
impl UnwindSafe for Endorsement
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