pub struct GoogleCloudDialogflowV2beta1ImportDocumentTemplate {
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 GoogleCloudDialogflowV2beta1ImportDocumentTemplate
impl Clone for GoogleCloudDialogflowV2beta1ImportDocumentTemplate
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1ImportDocumentTemplate
fn clone(&self) -> GoogleCloudDialogflowV2beta1ImportDocumentTemplate
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 GoogleCloudDialogflowV2beta1ImportDocumentTemplate
impl Default for GoogleCloudDialogflowV2beta1ImportDocumentTemplate
source§fn default() -> GoogleCloudDialogflowV2beta1ImportDocumentTemplate
fn default() -> GoogleCloudDialogflowV2beta1ImportDocumentTemplate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1ImportDocumentTemplate
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1ImportDocumentTemplate
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 GoogleCloudDialogflowV2beta1ImportDocumentTemplate
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1ImportDocumentTemplate
impl Send for GoogleCloudDialogflowV2beta1ImportDocumentTemplate
impl Sync for GoogleCloudDialogflowV2beta1ImportDocumentTemplate
impl Unpin for GoogleCloudDialogflowV2beta1ImportDocumentTemplate
impl UnwindSafe for GoogleCloudDialogflowV2beta1ImportDocumentTemplate
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