pub struct ListableResource {Show 14 fields
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 is_expired: Option<bool>,
pub refresh_error: Option<String>,
pub is_linked: bool,
pub is_refreshed: bool,
pub account: Option<f64>,
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>>
§is_expired: Option<bool>
§refresh_error: Option<String>
§is_linked: bool
§is_refreshed: bool
§account: Option<f64>
§created_by: Option<String>
§edited_at: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for ListableResource
impl Clone for ListableResource
Source§fn clone(&self) -> ListableResource
fn clone(&self) -> ListableResource
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 ListableResource
impl Debug for ListableResource
Source§impl Default for ListableResource
impl Default for ListableResource
Source§fn default() -> ListableResource
fn default() -> ListableResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListableResource
impl<'de> Deserialize<'de> for ListableResource
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 ListableResource
impl PartialEq for ListableResource
Source§impl Serialize for ListableResource
impl Serialize for ListableResource
impl StructuralPartialEq for ListableResource
Auto Trait Implementations§
impl Freeze for ListableResource
impl RefUnwindSafe for ListableResource
impl Send for ListableResource
impl Sync for ListableResource
impl Unpin for ListableResource
impl UnwindSafe for ListableResource
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