Struct quartz_cli::endpoint::EndpointPatch
source · pub struct EndpointPatch {
pub url: Option<String>,
pub method: Option<String>,
pub query: Vec<String>,
pub headers: Vec<String>,
pub data: Option<ContentTypeGroup>,
}Fields§
§url: Option<String>Patch request URL
method: Option<String>Patch HTTP request method
query: Vec<String>Add or patch a parameter to the URL query. This argument can be passed multiple times
headers: Vec<String>Add or patch a header. This argument can be passed multiple times
data: Option<ContentTypeGroup>Implementations§
source§impl EndpointPatch
impl EndpointPatch
pub fn has_changes(&self) -> bool
Trait Implementations§
source§impl Args for EndpointPatch
impl Args for EndpointPatch
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Debug for EndpointPatch
impl Debug for EndpointPatch
source§impl Default for EndpointPatch
impl Default for EndpointPatch
source§fn default() -> EndpointPatch
fn default() -> EndpointPatch
Returns the “default value” for a type. Read more
source§impl From<&mut EndpointPatch> for Endpoint
impl From<&mut EndpointPatch> for Endpoint
source§fn from(value: &mut EndpointPatch) -> Self
fn from(value: &mut EndpointPatch) -> Self
Converts to this type from the input type.
source§impl FromArgMatches for EndpointPatch
impl FromArgMatches for EndpointPatch
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches to self.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for EndpointPatch
impl RefUnwindSafe for EndpointPatch
impl Send for EndpointPatch
impl Sync for EndpointPatch
impl Unpin for EndpointPatch
impl UnwindSafe for EndpointPatch
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