#[non_exhaustive]pub struct MemoryForFileInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub path: String,
pub tags: Option<Vec<String>>,
pub top_k: Option<Integer>,
pub token_budget: Option<Integer>,
pub include_conflicted: Option<bool>,
pub extra_namespaces: 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>§path: String§top_k: Option<Integer>§token_budget: Option<Integer>§include_conflicted: Option<bool>§extra_namespaces: Option<Vec<String>>Implementations§
Source§impl MemoryForFileInput
impl MemoryForFileInput
pub fn new(path: impl Into<String>) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn top_k(self, top_k: impl Into<Integer>) -> Self
pub fn token_budget(self, token_budget: impl Into<Integer>) -> Self
pub fn include_conflicted(self, include_conflicted: bool) -> Self
pub fn extra_namespaces( self, extra_namespaces: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<MemoryForFileOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for MemoryForFileInput
impl Clone for MemoryForFileInput
Source§impl Debug for MemoryForFileInput
impl Debug for MemoryForFileInput
Source§impl<'de> Deserialize<'de> for MemoryForFileInput
impl<'de> Deserialize<'de> for MemoryForFileInput
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 MemoryForFileInput
impl PartialEq for MemoryForFileInput
Source§impl Serialize for MemoryForFileInput
impl Serialize for MemoryForFileInput
impl StructuralPartialEq for MemoryForFileInput
Auto Trait Implementations§
impl Forget for MemoryForFileInput
impl Freeze for MemoryForFileInput
impl Move for MemoryForFileInput
impl RefUnwindSafe for MemoryForFileInput
impl Send for MemoryForFileInput
impl Sync for MemoryForFileInput
impl Unpin for MemoryForFileInput
impl UnsafeUnpin for MemoryForFileInput
impl UnwindSafe for MemoryForFileInput
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