pub struct Map { /* private fields */ }
Implementations§
Source§impl Map
impl Map
pub fn name(&self) -> String
pub fn start(&self) -> i64
pub fn end(&self) -> i64
pub fn start_as_date(&self) -> DateTime<Utc>
pub fn end_as_date(&self) -> DateTime<Utc>
pub fn asset(&self) -> String
pub fn asset_as_url(&self) -> Result<Url, Box<dyn Error + Send + Sync>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Map
impl<'de> Deserialize<'de> for Map
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 Map
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
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