#[non_exhaustive]pub struct DeleteContentInput {
pub knowledge_base_id: Option<String>,
pub content_id: Option<String>,
}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.knowledge_base_id: Option<String>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
content_id: Option<String>The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
Implementations§
source§impl DeleteContentInput
impl DeleteContentInput
sourcepub fn knowledge_base_id(&self) -> Option<&str>
pub fn knowledge_base_id(&self) -> Option<&str>
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn content_id(&self) -> Option<&str>
pub fn content_id(&self) -> Option<&str>
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
source§impl DeleteContentInput
impl DeleteContentInput
sourcepub fn builder() -> DeleteContentInputBuilder
pub fn builder() -> DeleteContentInputBuilder
Creates a new builder-style object to manufacture DeleteContentInput.
Trait Implementations§
source§impl Clone for DeleteContentInput
impl Clone for DeleteContentInput
source§fn clone(&self) -> DeleteContentInput
fn clone(&self) -> DeleteContentInput
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 DeleteContentInput
impl Debug for DeleteContentInput
source§impl PartialEq for DeleteContentInput
impl PartialEq for DeleteContentInput
source§fn eq(&self, other: &DeleteContentInput) -> bool
fn eq(&self, other: &DeleteContentInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteContentInput
Auto Trait Implementations§
impl RefUnwindSafe for DeleteContentInput
impl Send for DeleteContentInput
impl Sync for DeleteContentInput
impl Unpin for DeleteContentInput
impl UnwindSafe for DeleteContentInput
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.