pub enum EnvListResponse {
Bare(Vec<EnvRef>),
Wrapped(EnvWrapper),
}Expand description
stripe projects env list --json data. Tolerates the three shapes the CLI
has emitted: {environments: {<name>: …}}, {environments: [{name}]}, and a
bare [{name}] array. At 0.23.0 the canonical shape is the named map inside
data.environments; older bare/list shapes are kept for fixture stability.
Variants§
Bare(Vec<EnvRef>)
Wrapped(EnvWrapper)
Implementations§
Trait Implementations§
Source§impl Debug for EnvListResponse
impl Debug for EnvListResponse
Source§impl<'de> Deserialize<'de> for EnvListResponse
impl<'de> Deserialize<'de> for EnvListResponse
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
Auto Trait Implementations§
impl Freeze for EnvListResponse
impl RefUnwindSafe for EnvListResponse
impl Send for EnvListResponse
impl Sync for EnvListResponse
impl Unpin for EnvListResponse
impl UnsafeUnpin for EnvListResponse
impl UnwindSafe for EnvListResponse
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