pub struct SkillsExtraRootsSetResponse(pub Map<String, Value>);Expand description
SkillsExtraRootsSetResponse
JSON schema
{
"title": "SkillsExtraRootsSetResponse",
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#"
}Tuple Fields§
§0: Map<String, Value>Methods from Deref<Target = Map<String, Value>>§
Sourcepub fn get<Q>(&self, key: &Q) -> Option<&Value>
pub fn get<Q>(&self, key: &Q) -> Option<&Value>
Returns a reference to the value corresponding to the key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Sourcepub fn contains_key<Q>(&self, key: &Q) -> bool
pub fn contains_key<Q>(&self, key: &Q) -> bool
Returns true if the map contains a value for the specified key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Trait Implementations§
Source§impl Clone for SkillsExtraRootsSetResponse
impl Clone for SkillsExtraRootsSetResponse
Source§fn clone(&self) -> SkillsExtraRootsSetResponse
fn clone(&self) -> SkillsExtraRootsSetResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SkillsExtraRootsSetResponse
impl Debug for SkillsExtraRootsSetResponse
Source§impl Deref for SkillsExtraRootsSetResponse
impl Deref for SkillsExtraRootsSetResponse
Source§impl<'de> Deserialize<'de> for SkillsExtraRootsSetResponse
impl<'de> Deserialize<'de> for SkillsExtraRootsSetResponse
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 SkillsExtraRootsSetResponse
impl RefUnwindSafe for SkillsExtraRootsSetResponse
impl Send for SkillsExtraRootsSetResponse
impl Sync for SkillsExtraRootsSetResponse
impl Unpin for SkillsExtraRootsSetResponse
impl UnsafeUnpin for SkillsExtraRootsSetResponse
impl UnwindSafe for SkillsExtraRootsSetResponse
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