pub struct CouncilMeetingId(/* private fields */);Expand description
Unique identifier for a council meeting.
Implementations§
Trait Implementations§
Source§impl Clone for CouncilMeetingId
impl Clone for CouncilMeetingId
Source§fn clone(&self) -> CouncilMeetingId
fn clone(&self) -> CouncilMeetingId
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 CouncilMeetingId
Source§impl Debug for CouncilMeetingId
impl Debug for CouncilMeetingId
Source§impl Default for CouncilMeetingId
impl Default for CouncilMeetingId
Source§impl<'de> Deserialize<'de> for CouncilMeetingId
impl<'de> Deserialize<'de> for CouncilMeetingId
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 CouncilMeetingId
impl Display for CouncilMeetingId
impl Eq for CouncilMeetingId
Source§impl From<CouncilMeetingId> for Uuid
impl From<CouncilMeetingId> for Uuid
Source§fn from(id: CouncilMeetingId) -> Self
fn from(id: CouncilMeetingId) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for CouncilMeetingId
impl From<Uuid> for CouncilMeetingId
Source§impl FromStr for CouncilMeetingId
Every id round-trips through its own Display.
impl FromStr for CouncilMeetingId
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 CouncilMeetingId
impl Hash for CouncilMeetingId
Source§impl Ord for CouncilMeetingId
impl Ord for CouncilMeetingId
Source§fn cmp(&self, other: &CouncilMeetingId) -> Ordering
fn cmp(&self, other: &CouncilMeetingId) -> 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 CouncilMeetingId
impl PartialEq for CouncilMeetingId
Source§impl PartialOrd for CouncilMeetingId
impl PartialOrd for CouncilMeetingId
Source§impl Serialize for CouncilMeetingId
impl Serialize for CouncilMeetingId
impl StructuralPartialEq for CouncilMeetingId
Auto Trait Implementations§
impl Freeze for CouncilMeetingId
impl RefUnwindSafe for CouncilMeetingId
impl Send for CouncilMeetingId
impl Sync for CouncilMeetingId
impl Unpin for CouncilMeetingId
impl UnsafeUnpin for CouncilMeetingId
impl UnwindSafe for CouncilMeetingId
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