Struct google_discovery1::RestResource
source · pub struct RestResource {
pub methods: Option<HashMap<String, RestMethod>>,
pub resources: Option<HashMap<String, RestResource>>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§methods: Option<HashMap<String, RestMethod>>
Methods on this resource.
resources: Option<HashMap<String, RestResource>>
Sub-resources on this resource.
Trait Implementations§
source§impl Clone for RestResource
impl Clone for RestResource
source§fn clone(&self) -> RestResource
fn clone(&self) -> RestResource
Returns a copy 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 RestResource
impl Debug for RestResource
source§impl Default for RestResource
impl Default for RestResource
source§fn default() -> RestResource
fn default() -> RestResource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RestResource
impl<'de> Deserialize<'de> for RestResource
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 Serialize for RestResource
impl Serialize for RestResource
impl Part for RestResource
Auto Trait Implementations§
impl RefUnwindSafe for RestResource
impl Send for RestResource
impl Sync for RestResource
impl Unpin for RestResource
impl UnwindSafe for RestResource
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