Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::JSON
source · pub struct JSON(pub Value);
Expand description
JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.
Tuple Fields§
§0: Value
Trait Implementations§
source§impl<'de> Deserialize<'de> for JSON
impl<'de> Deserialize<'de> for JSON
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<JSON> for JSON
impl PartialEq<JSON> for JSON
impl StructuralPartialEq for JSON
Auto Trait Implementations§
impl RefUnwindSafe for JSON
impl Send for JSON
impl Sync for JSON
impl Unpin for JSON
impl UnwindSafe for JSON
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