pub struct Meta<R: Serialize> {
pub resource_type: R,
pub created: Option<DateTime>,
pub last_modified: Option<DateTime>,
pub location: Option<Reference>,
pub version: Option<String>,
}
Expand description
Metadata about a resource.
Fields§
§resource_type: R
The type of resource.
created: Option<DateTime>
When the resource was created.
last_modified: Option<DateTime>
When the resource was last modified.
location: Option<Reference>
The URL of the resource.
version: Option<String>
The current version of the resource.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Meta<R>where
R: Freeze,
impl<R> RefUnwindSafe for Meta<R>where
R: RefUnwindSafe,
impl<R> Send for Meta<R>where
R: Send,
impl<R> Sync for Meta<R>where
R: Sync,
impl<R> Unpin for Meta<R>where
R: Unpin,
impl<R> UnwindSafe for Meta<R>where
R: UnwindSafe,
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