pub struct EnvironmentOut {
pub created_at: String,
pub event_types: Vec<EventTypeOut>,
pub settings: Option<Value>,
pub transformation_templates: Vec<TemplateOut>,
pub version: Option<i32>,
}
Fields§
§created_at: String
§event_types: Vec<EventTypeOut>
§settings: Option<Value>
§transformation_templates: Vec<TemplateOut>
§version: Option<i32>
Implementations§
Source§impl EnvironmentOut
impl EnvironmentOut
pub fn new( created_at: String, event_types: Vec<EventTypeOut>, settings: Option<Value>, transformation_templates: Vec<TemplateOut>, ) -> EnvironmentOut
Trait Implementations§
Source§impl Clone for EnvironmentOut
impl Clone for EnvironmentOut
Source§fn clone(&self) -> EnvironmentOut
fn clone(&self) -> EnvironmentOut
Returns a duplicate 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 EnvironmentOut
impl Debug for EnvironmentOut
Source§impl Default for EnvironmentOut
impl Default for EnvironmentOut
Source§fn default() -> EnvironmentOut
fn default() -> EnvironmentOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvironmentOut
impl<'de> Deserialize<'de> for EnvironmentOut
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 EnvironmentOut
impl PartialEq for EnvironmentOut
Source§impl Serialize for EnvironmentOut
impl Serialize for EnvironmentOut
impl StructuralPartialEq for EnvironmentOut
Auto Trait Implementations§
impl Freeze for EnvironmentOut
impl RefUnwindSafe for EnvironmentOut
impl Send for EnvironmentOut
impl Sync for EnvironmentOut
impl Unpin for EnvironmentOut
impl UnwindSafe for EnvironmentOut
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