Struct puff_rs::program::commands::django_management::DjangoManagementCommand
source · pub struct DjangoManagementCommand {}Expand description
The DjangoManagementCommand.
Exposes ./manage.py [COMMAND] options for a Program.
Implementations
Trait Implementations
sourceimpl Clone for DjangoManagementCommand
impl Clone for DjangoManagementCommand
sourcefn clone(&self) -> DjangoManagementCommand
fn clone(&self) -> DjangoManagementCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl RunnableCommand for DjangoManagementCommand
impl RunnableCommand for DjangoManagementCommand
sourcefn cli_parser(&self) -> Command
fn cli_parser(&self) -> Command
The clap::Command that specifies the arguments and meta information.
sourcefn make_runnable(
&mut self,
args: &ArgMatches,
context: PuffContext
) -> PuffResult<Runnable>
fn make_runnable(
&mut self,
args: &ArgMatches,
context: PuffContext
) -> PuffResult<Runnable>
Converts parsed matches from the command line into a Runnable future.
Auto Trait Implementations
impl RefUnwindSafe for DjangoManagementCommand
impl Send for DjangoManagementCommand
impl Sync for DjangoManagementCommand
impl Unpin for DjangoManagementCommand
impl UnwindSafe for DjangoManagementCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more