pub struct Resource {Show 14 fields
pub id: String,
pub name: String,
pub description: Option<String>,
pub label: Option<String>,
pub active: bool,
pub type_id: String,
pub owner_id: String,
pub classifier: Option<String>,
pub base_unit: Option<String>,
pub data_source_type: String,
pub data_source_resource_type_info: Option<DataSourceResourceTypeInfo>,
pub data_source_unit_info: Option<Value>,
pub updated_at: OffsetDateTime,
pub created_at: OffsetDateTime,
}Fields§
§id: String§name: String§description: Option<String>§label: Option<String>§active: bool§type_id: String§owner_id: String§classifier: Option<String>§base_unit: Option<String>§data_source_type: String§data_source_resource_type_info: Option<DataSourceResourceTypeInfo>§data_source_unit_info: Option<Value>§updated_at: OffsetDateTime§created_at: OffsetDateTimeTrait 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 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