Struct ocf::Env [] [src]

pub struct Env {
    pub key: String,
    pub value: String,
}

Fields

key
value

Methods

impl Env

fn key(&self) -> &str

fn value(&self) -> &str

Trait Implementations

impl Display for Env

fn fmt(&self, f: &mut Formatter) -> Result

impl Deserialize for Env

fn deserialize<D: Deserializer>(d: &mut D) -> Result<Self, D::Error>

impl Serialize for Env

fn serialize<S: Serializer>(&self, s: &mut S) -> Result<(), S::Error>

Derived Implementations

impl Debug for Env

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Env

fn clone(&self) -> Env

fn clone_from(&mut self, source: &Self)