Struct nomad_client::models::object_diff::ObjectDiff
source · pub struct ObjectDiff {
pub _type: Option<String>,
pub name: Option<String>,
pub fields: Option<Vec<FieldDiff>>,
pub objects: Option<Vec<ObjectDiff>>,
}
Fields§
§_type: Option<String>
§name: Option<String>
§fields: Option<Vec<FieldDiff>>
§objects: Option<Vec<ObjectDiff>>
Implementations§
source§impl ObjectDiff
impl ObjectDiff
pub fn new() -> ObjectDiff
Trait Implementations§
source§impl Clone for ObjectDiff
impl Clone for ObjectDiff
source§fn clone(&self) -> ObjectDiff
fn clone(&self) -> ObjectDiff
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 ObjectDiff
impl Debug for ObjectDiff
source§impl<'de> Deserialize<'de> for ObjectDiff
impl<'de> Deserialize<'de> for ObjectDiff
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<ObjectDiff> for ObjectDiff
impl PartialEq<ObjectDiff> for ObjectDiff
source§fn eq(&self, other: &ObjectDiff) -> bool
fn eq(&self, other: &ObjectDiff) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.