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