pub struct EnvironmentReference {
pub id: Option<i32>,
pub name: Option<String>,
}
Expand description
Fields§
§id: Option<i32>
§name: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for EnvironmentReference
impl Clone for EnvironmentReference
source§fn clone(&self) -> EnvironmentReference
fn clone(&self) -> EnvironmentReference
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 EnvironmentReference
impl Debug for EnvironmentReference
source§impl Default for EnvironmentReference
impl Default for EnvironmentReference
source§fn default() -> EnvironmentReference
fn default() -> EnvironmentReference
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EnvironmentReference
impl<'de> Deserialize<'de> for EnvironmentReference
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 EnvironmentReference
impl PartialEq for EnvironmentReference
source§fn eq(&self, other: &EnvironmentReference) -> bool
fn eq(&self, other: &EnvironmentReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EnvironmentReference
impl Serialize for EnvironmentReference
impl StructuralPartialEq for EnvironmentReference
Auto Trait Implementations§
impl RefUnwindSafe for EnvironmentReference
impl Send for EnvironmentReference
impl Sync for EnvironmentReference
impl Unpin for EnvironmentReference
impl UnwindSafe for EnvironmentReference
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