pub struct FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel {
pub id: Option<i64>,
pub name: Option<String>,
pub version: Option<String>,
}Expand description
Note: All Droplets created after March 2017 use internal kernels by default.
These Droplets will have this attribute set to null.
The current kernel for Droplets with externally managed kernels. This will initially be set to the kernel of the base image when the Droplet is created.
JSON schema
{
"description": "**Note**: All Droplets created after March 2017 use internal kernels by default.\nThese Droplets will have this attribute set to `null`.\n\nThe current [kernel](https://docs.digitalocean.com/products/droplets/how-to/kernel/)\nfor Droplets with externally managed kernels. This will initially be set to\nthe kernel of the base image when the Droplet is created.\n",
"deprecated": true,
"type": "object",
"properties": {
"id": {
"description": "A unique number used to identify and reference a specific kernel.",
"examples": [
7515
],
"type": "integer"
},
"name": {
"description": "The display name of the kernel. This is shown in the web UI and is generally a descriptive title for the kernel in question.",
"examples": [
"DigitalOcean GrubLoader v0.2 (20160714)"
],
"type": "string"
},
"version": {
"description": "A standard kernel version string representing the version, patch, and release information.",
"examples": [
"2016.07.13-DigitalOcean_loader_Ubuntu"
],
"type": "string"
}
}
}Fields§
§id: Option<i64>A unique number used to identify and reference a specific kernel.
name: Option<String>The display name of the kernel. This is shown in the web UI and is generally a descriptive title for the kernel in question.
version: Option<String>A standard kernel version string representing the version, patch, and release information.
Trait Implementations§
Source§impl Clone for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
impl Clone for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
Source§fn clone(&self) -> FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
fn clone(&self) -> FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
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<'de> Deserialize<'de> for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
impl<'de> Deserialize<'de> for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
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<&FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel> for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
impl From<&FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel> for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
Source§fn from(
value: &FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel,
) -> Self
fn from( value: &FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
impl RefUnwindSafe for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
impl Send for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
impl Sync for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
impl Unpin for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
impl UnsafeUnpin for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
impl UnwindSafe for FloatingIPsCreateResponseFloatingIpDropletSubtype1Kernel
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