#[non_exhaustive]pub struct KnowledgeGetInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub source_uri: String,
pub include_superseded: Option<bool>,
}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.org: Option<String>§namespace: Option<String>§source_uri: String§include_superseded: Option<bool>Implementations§
Source§impl KnowledgeGetInput
impl KnowledgeGetInput
pub fn new(source_uri: impl Into<String>) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn include_superseded(self, include_superseded: bool) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<KnowledgeGetOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for KnowledgeGetInput
impl Clone for KnowledgeGetInput
Source§impl Debug for KnowledgeGetInput
impl Debug for KnowledgeGetInput
Source§impl<'de> Deserialize<'de> for KnowledgeGetInput
impl<'de> Deserialize<'de> for KnowledgeGetInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KnowledgeGetInput
impl PartialEq for KnowledgeGetInput
Source§impl Serialize for KnowledgeGetInput
impl Serialize for KnowledgeGetInput
impl StructuralPartialEq for KnowledgeGetInput
Auto Trait Implementations§
impl Forget for KnowledgeGetInput
impl Freeze for KnowledgeGetInput
impl Move for KnowledgeGetInput
impl RefUnwindSafe for KnowledgeGetInput
impl Send for KnowledgeGetInput
impl Sync for KnowledgeGetInput
impl Unpin for KnowledgeGetInput
impl UnsafeUnpin for KnowledgeGetInput
impl UnwindSafe for KnowledgeGetInput
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