#[non_exhaustive]pub struct KnowledgeListInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub namespaces: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
pub tags_every: Option<bool>,
pub uri_prefix: Option<Vec<String>>,
pub include_superseded: Option<bool>,
pub limit: Option<Integer>,
pub cursor: Option<Option<String>>,
pub fields: Option<Option<Vec<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.org: Option<String>§namespace: Option<String>§namespaces: Option<Vec<String>>§uri_prefix: Option<Vec<String>>§include_superseded: Option<bool>§limit: Option<Integer>§cursor: Option<Option<String>>§fields: Option<Option<Vec<String>>>Implementations§
Source§impl KnowledgeListInput
impl KnowledgeListInput
pub fn new() -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn namespaces( self, namespaces: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn uri_prefix( self, uri_prefix: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn include_superseded(self, include_superseded: bool) -> Self
pub fn limit(self, limit: impl Into<Integer>) -> Self
pub fn cursor(self, cursor: impl Into<String>) -> Self
pub fn cursor_null(self) -> Self
pub fn fields(self, fields: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn fields_null(self) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<KnowledgeListOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for KnowledgeListInput
impl Clone for KnowledgeListInput
Source§impl Debug for KnowledgeListInput
impl Debug for KnowledgeListInput
Source§impl Default for KnowledgeListInput
impl Default for KnowledgeListInput
Source§impl<'de> Deserialize<'de> for KnowledgeListInput
impl<'de> Deserialize<'de> for KnowledgeListInput
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 KnowledgeListInput
impl PartialEq for KnowledgeListInput
Source§impl Serialize for KnowledgeListInput
impl Serialize for KnowledgeListInput
impl StructuralPartialEq for KnowledgeListInput
Auto Trait Implementations§
impl Forget for KnowledgeListInput
impl Freeze for KnowledgeListInput
impl Move for KnowledgeListInput
impl RefUnwindSafe for KnowledgeListInput
impl Send for KnowledgeListInput
impl Sync for KnowledgeListInput
impl Unpin for KnowledgeListInput
impl UnsafeUnpin for KnowledgeListInput
impl UnwindSafe for KnowledgeListInput
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