Struct aws_sdk_apigateway::types::Resource
source · #[non_exhaustive]pub struct Resource {
pub id: Option<String>,
pub parent_id: Option<String>,
pub path_part: Option<String>,
pub path: Option<String>,
pub resource_methods: Option<HashMap<String, Method>>,
}
Expand description
Represents an API resource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The resource's identifier.
parent_id: Option<String>
The parent resource's identifier.
path_part: Option<String>
The last path segment for this resource.
path: Option<String>
The full path for this resource.
resource_methods: Option<HashMap<String, Method>>
Gets an API resource's method of a given HTTP verb.
Implementations§
Trait Implementations§
source§impl PartialEq<Resource> for Resource
impl PartialEq<Resource> for Resource
impl StructuralPartialEq for Resource
Auto Trait Implementations§
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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