pub enum StateSubcommand {
List,
Show(String),
Mv {
source: String,
destination: String,
},
Rm(Vec<String>),
Pull,
Push,
ReplaceProvider {
from: String,
to: String,
},
}Expand description
The state subcommand to execute.
Variants§
List
List resources in the state.
Show(String)
Show a single resource in the state.
Mv
Move a resource to a different address.
Rm(Vec<String>)
Remove a resource from the state (without destroying it).
Pull
Pull remote state and output to stdout.
Push
Push local state to remote backend.
ReplaceProvider
Replace a provider in the state.
Trait Implementations§
Source§impl Clone for StateSubcommand
impl Clone for StateSubcommand
Source§fn clone(&self) -> StateSubcommand
fn clone(&self) -> StateSubcommand
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 moreAuto Trait Implementations§
impl Freeze for StateSubcommand
impl RefUnwindSafe for StateSubcommand
impl Send for StateSubcommand
impl Sync for StateSubcommand
impl Unpin for StateSubcommand
impl UnsafeUnpin for StateSubcommand
impl UnwindSafe for StateSubcommand
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