pub struct Resource {
pub workspace_id: Option<String>,
pub path: String,
pub description: Option<String>,
pub resource_type: String,
pub value: Option<Option<Value>>,
pub is_oauth: bool,
pub extra_perms: Option<HashMap<String, bool>>,
pub created_by: Option<String>,
pub edited_at: Option<String>,
}
Fields§
§workspace_id: Option<String>
§path: String
§description: Option<String>
§resource_type: String
§value: Option<Option<Value>>
§is_oauth: bool
§extra_perms: Option<HashMap<String, bool>>
§created_by: Option<String>
§edited_at: Option<String>
Implementations§
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
impl StructuralPartialEq for Resource
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