pub struct AddonsPatchBody {
pub name: String,
}Expand description
AddonsPatchBody
JSON schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "The new name for the add-on resource.",
"examples": [
"new-name"
],
"type": "string"
}
}
}Fields§
§name: StringThe new name for the add-on resource.
Trait Implementations§
Source§impl Clone for AddonsPatchBody
impl Clone for AddonsPatchBody
Source§fn clone(&self) -> AddonsPatchBody
fn clone(&self) -> AddonsPatchBody
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 AddonsPatchBody
impl Debug for AddonsPatchBody
Source§impl<'de> Deserialize<'de> for AddonsPatchBody
impl<'de> Deserialize<'de> for AddonsPatchBody
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 From<&AddonsPatchBody> for AddonsPatchBody
impl From<&AddonsPatchBody> for AddonsPatchBody
Source§fn from(value: &AddonsPatchBody) -> Self
fn from(value: &AddonsPatchBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddonsPatchBody
impl RefUnwindSafe for AddonsPatchBody
impl Send for AddonsPatchBody
impl Sync for AddonsPatchBody
impl Unpin for AddonsPatchBody
impl UnsafeUnpin for AddonsPatchBody
impl UnwindSafe for AddonsPatchBody
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