pub struct AgendaItemId(/* private fields */);Expand description
Unique identifier for an agenda item.
Implementations§
Trait Implementations§
Source§impl Clone for AgendaItemId
impl Clone for AgendaItemId
Source§fn clone(&self) -> AgendaItemId
fn clone(&self) -> AgendaItemId
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 AgendaItemId
Source§impl Debug for AgendaItemId
impl Debug for AgendaItemId
Source§impl Default for AgendaItemId
impl Default for AgendaItemId
Source§impl<'de> Deserialize<'de> for AgendaItemId
impl<'de> Deserialize<'de> for AgendaItemId
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
Source§impl Display for AgendaItemId
impl Display for AgendaItemId
impl Eq for AgendaItemId
Source§impl From<AgendaItemId> for Uuid
impl From<AgendaItemId> for Uuid
Source§fn from(id: AgendaItemId) -> Self
fn from(id: AgendaItemId) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for AgendaItemId
impl From<Uuid> for AgendaItemId
Source§impl FromStr for AgendaItemId
Every id round-trips through its own Display.
impl FromStr for AgendaItemId
Every id round-trips through its own Display.
Without this, anything that parses an id from a string — clap
value_parsers, query strings, config files — has to widen the
field back to a bare Uuid at the boundary and convert by
hand, which is the exact laundering the newtype exists to
prevent. agora-cli carried a hand-written
parse_moderation_action_id for precisely this reason.
Source§impl Hash for AgendaItemId
impl Hash for AgendaItemId
Source§impl Ord for AgendaItemId
impl Ord for AgendaItemId
Source§fn cmp(&self, other: &AgendaItemId) -> Ordering
fn cmp(&self, other: &AgendaItemId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AgendaItemId
impl PartialEq for AgendaItemId
Source§impl PartialOrd for AgendaItemId
impl PartialOrd for AgendaItemId
Source§impl Serialize for AgendaItemId
impl Serialize for AgendaItemId
impl StructuralPartialEq for AgendaItemId
Auto Trait Implementations§
impl Freeze for AgendaItemId
impl RefUnwindSafe for AgendaItemId
impl Send for AgendaItemId
impl Sync for AgendaItemId
impl Unpin for AgendaItemId
impl UnsafeUnpin for AgendaItemId
impl UnwindSafe for AgendaItemId
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