pub struct UpdateMethodResponseRequest {
pub http_method: String,
pub patch_operations: Option<Vec<PatchOperation>>,
pub resource_id: String,
pub rest_api_id: String,
pub status_code: String,
}
Expand description
A request to update an existing MethodResponse resource.
Fields
http_method: String
[Required] The HTTP verb of the Method resource.
patch_operations: Option<Vec<PatchOperation>>
A list of update operations to be applied to the specified resource and in the order specified in this list.
resource_id: String
[Required] The Resource identifier for the MethodResponse resource.
rest_api_id: String
[Required] The string identifier of the associated RestApi.
status_code: String
[Required] The status code for the MethodResponse resource.
Trait Implementations
sourceimpl Clone for UpdateMethodResponseRequest
impl Clone for UpdateMethodResponseRequest
sourcefn clone(&self) -> UpdateMethodResponseRequest
fn clone(&self) -> UpdateMethodResponseRequest
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 more
sourceimpl Debug for UpdateMethodResponseRequest
impl Debug for UpdateMethodResponseRequest
sourceimpl Default for UpdateMethodResponseRequest
impl Default for UpdateMethodResponseRequest
sourcefn default() -> UpdateMethodResponseRequest
fn default() -> UpdateMethodResponseRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateMethodResponseRequest> for UpdateMethodResponseRequest
impl PartialEq<UpdateMethodResponseRequest> for UpdateMethodResponseRequest
sourcefn eq(&self, other: &UpdateMethodResponseRequest) -> bool
fn eq(&self, other: &UpdateMethodResponseRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateMethodResponseRequest) -> bool
fn ne(&self, other: &UpdateMethodResponseRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateMethodResponseRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateMethodResponseRequest
impl Send for UpdateMethodResponseRequest
impl Sync for UpdateMethodResponseRequest
impl Unpin for UpdateMethodResponseRequest
impl UnwindSafe for UpdateMethodResponseRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more