pub struct Resource {
pub abilities: Vec<String>,
pub created_at: DateTime,
pub detail: BTreeMap<String, Value>,
pub project_id: String,
pub resource_id: String,
pub retired_at: Option<DateTime>,
pub state: ResourceState,
pub type: String,
pub updated_at: DateTime,
}Fields§
§abilities: Vec<String>§created_at: DateTime§detail: BTreeMap<String, Value>§project_id: String§resource_id: String§retired_at: Option<DateTime>§state: ResourceState§type: String§updated_at: DateTimeImplementations§
Source§impl<'de> Resource
impl<'de> Resource
pub fn deserialize<__D>(__deserializer: __D) -> Result<Resource, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Resource
impl<'de> Deserialize<'de> for Resource
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 Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnsafeUnpin for Resource
impl UnwindSafe for Resource
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