pub struct ResourceResponse {
pub resource_id: Option<String>,
pub name: Option<String>,
pub created_at: Option<String>,
pub deleted_at: Option<String>,
pub updated_at: Option<String>,
pub id: Option<String>,
pub href: Option<String>,
pub service_id: Option<String>,
pub version: Option<i32>,
pub resource_type: Option<TypeResource>,
}
Fields§
§resource_id: Option<String>
The ID of the underlying linked resource.
name: Option<String>
The name of the resource link. Note this is separate from the resource store name and might not match the store name.
created_at: Option<String>
Date and time in ISO 8601 format.
deleted_at: Option<String>
Date and time in ISO 8601 format.
updated_at: Option<String>
Date and time in ISO 8601 format.
id: Option<String>
An alphanumeric string identifying the resource link.
href: Option<String>
The path to the resource.
service_id: Option<String>
Alphanumeric string identifying the service.
version: Option<i32>
Integer identifying a service version.
resource_type: Option<TypeResource>
Implementations§
Source§impl ResourceResponse
impl ResourceResponse
pub fn new() -> ResourceResponse
Trait Implementations§
Source§impl Clone for ResourceResponse
impl Clone for ResourceResponse
Source§fn clone(&self) -> ResourceResponse
fn clone(&self) -> ResourceResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 ResourceResponse
impl Debug for ResourceResponse
Source§impl Default for ResourceResponse
impl Default for ResourceResponse
Source§fn default() -> ResourceResponse
fn default() -> ResourceResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceResponse
impl<'de> Deserialize<'de> for ResourceResponse
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 PartialEq for ResourceResponse
impl PartialEq for ResourceResponse
Source§impl Serialize for ResourceResponse
impl Serialize for ResourceResponse
impl StructuralPartialEq for ResourceResponse
Auto Trait Implementations§
impl Freeze for ResourceResponse
impl RefUnwindSafe for ResourceResponse
impl Send for ResourceResponse
impl Sync for ResourceResponse
impl Unpin for ResourceResponse
impl UnwindSafe for ResourceResponse
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