#[non_exhaustive]pub struct DeleteProjectOutput {
pub deleted_resources: Option<Vec<Resource>>,
pub orphaned_resources: Option<Vec<Resource>>,
/* private fields */
}
Expand description
Result structure used in response to request to delete a project.
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.deleted_resources: Option<Vec<Resource>>
Resources which were deleted.
orphaned_resources: Option<Vec<Resource>>
Resources which were not deleted, due to a risk of losing potentially important data or files.
Implementations§
source§impl DeleteProjectOutput
impl DeleteProjectOutput
sourcepub fn deleted_resources(&self) -> &[Resource]
pub fn deleted_resources(&self) -> &[Resource]
Resources which were deleted.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .deleted_resources.is_none()
.
sourcepub fn orphaned_resources(&self) -> &[Resource]
pub fn orphaned_resources(&self) -> &[Resource]
Resources which were not deleted, due to a risk of losing potentially important data or files.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .orphaned_resources.is_none()
.
source§impl DeleteProjectOutput
impl DeleteProjectOutput
sourcepub fn builder() -> DeleteProjectOutputBuilder
pub fn builder() -> DeleteProjectOutputBuilder
Creates a new builder-style object to manufacture DeleteProjectOutput
.
Trait Implementations§
source§impl Clone for DeleteProjectOutput
impl Clone for DeleteProjectOutput
source§fn clone(&self) -> DeleteProjectOutput
fn clone(&self) -> DeleteProjectOutput
Returns a copy 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 moresource§impl Debug for DeleteProjectOutput
impl Debug for DeleteProjectOutput
source§impl PartialEq for DeleteProjectOutput
impl PartialEq for DeleteProjectOutput
source§fn eq(&self, other: &DeleteProjectOutput) -> bool
fn eq(&self, other: &DeleteProjectOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DeleteProjectOutput
impl RequestId for DeleteProjectOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for DeleteProjectOutput
Auto Trait Implementations§
impl RefUnwindSafe for DeleteProjectOutput
impl Send for DeleteProjectOutput
impl Sync for DeleteProjectOutput
impl Unpin for DeleteProjectOutput
impl UnwindSafe for DeleteProjectOutput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.