pub struct GoogleCloudDialogflowV2ImportDocumentTemplate {
pub knowledge_types: Option<Vec<String>>,
pub metadata: Option<HashMap<String, String>>,
pub mime_type: Option<String>,
}
Expand description
The template used for importing documents.
This type is not used in any activity, and only used as part of another schema.
Fields§
§knowledge_types: Option<Vec<String>>
Required. The knowledge type of document content.
metadata: Option<HashMap<String, String>>
Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document’s title, an external URL distinct from the document’s content_uri, etc. The max size of a key
or a value
of the metadata is 1024 bytes.
mime_type: Option<String>
Required. The MIME type of the document.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2ImportDocumentTemplate
impl Clone for GoogleCloudDialogflowV2ImportDocumentTemplate
source§fn clone(&self) -> GoogleCloudDialogflowV2ImportDocumentTemplate
fn clone(&self) -> GoogleCloudDialogflowV2ImportDocumentTemplate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDialogflowV2ImportDocumentTemplate
impl Default for GoogleCloudDialogflowV2ImportDocumentTemplate
source§fn default() -> GoogleCloudDialogflowV2ImportDocumentTemplate
fn default() -> GoogleCloudDialogflowV2ImportDocumentTemplate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2ImportDocumentTemplate
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2ImportDocumentTemplate
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
impl Part for GoogleCloudDialogflowV2ImportDocumentTemplate
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2ImportDocumentTemplate
impl Send for GoogleCloudDialogflowV2ImportDocumentTemplate
impl Sync for GoogleCloudDialogflowV2ImportDocumentTemplate
impl Unpin for GoogleCloudDialogflowV2ImportDocumentTemplate
impl UnwindSafe for GoogleCloudDialogflowV2ImportDocumentTemplate
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