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