pub struct CalendarId(/* private fields */);Expand description
Calendar ID newtype for type safety.
Implementations§
Trait Implementations§
Source§impl Clone for CalendarId
impl Clone for CalendarId
Source§fn clone(&self) -> CalendarId
fn clone(&self) -> CalendarId
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 moreSource§impl Debug for CalendarId
impl Debug for CalendarId
Source§impl<'de> Deserialize<'de> for CalendarId
impl<'de> Deserialize<'de> for CalendarId
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 CalendarId
impl Display for CalendarId
impl Eq for CalendarId
Source§impl From<&str> for CalendarId
impl From<&str> for CalendarId
Source§impl From<String> for CalendarId
impl From<String> for CalendarId
Source§impl Hash for CalendarId
impl Hash for CalendarId
Source§impl PartialEq for CalendarId
impl PartialEq for CalendarId
Source§fn eq(&self, other: &CalendarId) -> bool
fn eq(&self, other: &CalendarId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CalendarId
impl Serialize for CalendarId
impl StructuralPartialEq for CalendarId
Auto Trait Implementations§
impl Freeze for CalendarId
impl RefUnwindSafe for CalendarId
impl Send for CalendarId
impl Sync for CalendarId
impl Unpin for CalendarId
impl UnsafeUnpin for CalendarId
impl UnwindSafe for CalendarId
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