#[non_exhaustive]pub struct KnowledgeDatasetGetInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub source_uri: String,
pub dataset_id: Option<String>,
pub sample_rows: Option<Integer>,
}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§dataset_id: Option<String>§sample_rows: Option<Integer>Implementations§
Source§impl KnowledgeDatasetGetInput
impl KnowledgeDatasetGetInput
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 dataset_id(self, dataset_id: impl Into<String>) -> Self
pub fn sample_rows(self, sample_rows: impl Into<Integer>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<KnowledgeDatasetGetOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for KnowledgeDatasetGetInput
impl Clone for KnowledgeDatasetGetInput
Source§impl Debug for KnowledgeDatasetGetInput
impl Debug for KnowledgeDatasetGetInput
Source§impl<'de> Deserialize<'de> for KnowledgeDatasetGetInput
impl<'de> Deserialize<'de> for KnowledgeDatasetGetInput
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 KnowledgeDatasetGetInput
impl PartialEq for KnowledgeDatasetGetInput
Source§impl Serialize for KnowledgeDatasetGetInput
impl Serialize for KnowledgeDatasetGetInput
impl StructuralPartialEq for KnowledgeDatasetGetInput
Auto Trait Implementations§
impl Forget for KnowledgeDatasetGetInput
impl Freeze for KnowledgeDatasetGetInput
impl Move for KnowledgeDatasetGetInput
impl RefUnwindSafe for KnowledgeDatasetGetInput
impl Send for KnowledgeDatasetGetInput
impl Sync for KnowledgeDatasetGetInput
impl Unpin for KnowledgeDatasetGetInput
impl UnsafeUnpin for KnowledgeDatasetGetInput
impl UnwindSafe for KnowledgeDatasetGetInput
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