pub struct GroupVersionResource {
pub group: Option<String>,
pub resource: Option<String>,
pub version: Option<String>,
}
Expand description
The names of the group, the version, and the resource.
Fields§
§group: Option<String>
The name of the group.
resource: Option<String>
The name of the resource.
version: Option<String>
The name of the version.
Trait Implementations§
Source§impl Clone for GroupVersionResource
impl Clone for GroupVersionResource
Source§fn clone(&self) -> GroupVersionResource
fn clone(&self) -> GroupVersionResource
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 GroupVersionResource
impl Debug for GroupVersionResource
Source§impl DeepMerge for GroupVersionResource
impl DeepMerge for GroupVersionResource
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for GroupVersionResource
impl Default for GroupVersionResource
Source§fn default() -> GroupVersionResource
fn default() -> GroupVersionResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupVersionResource
impl<'de> Deserialize<'de> for GroupVersionResource
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 GroupVersionResource
impl PartialEq for GroupVersionResource
Source§impl Serialize for GroupVersionResource
impl Serialize for GroupVersionResource
impl StructuralPartialEq for GroupVersionResource
Auto Trait Implementations§
impl Freeze for GroupVersionResource
impl RefUnwindSafe for GroupVersionResource
impl Send for GroupVersionResource
impl Sync for GroupVersionResource
impl Unpin for GroupVersionResource
impl UnwindSafe for GroupVersionResource
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