pub struct ExtractorFileObject {
pub description: CogniteDescribable,
pub source: CogniteSourceable,
pub assets: Option<Vec<InstanceId>>,
pub mime_type: Option<String>,
pub directory: Option<String>,
pub is_uploaded: Option<bool>,
pub uploaded_time: Option<i64>,
pub category: Option<InstanceId>,
pub extracted_data: Option<HashMap<String, String>>,
}Expand description
The properties of the file object.
Fields§
§description: CogniteDescribableName of the instance.
source: CogniteSourceableSource system.
assets: Option<Vec<InstanceId>>List of assets to which this file relates.
mime_type: Option<String>MIME type of the file.
directory: Option<String>Contains the path elements from the source (for when the source system has a file system hierarchy or similar).
is_uploaded: Option<bool>Whether the file content has been uploaded to Cognite Data Fusion.
uploaded_time: Option<i64>Point in time when the file upload was completed and the file was made available.
category: Option<InstanceId>Direct relation to an instance of CogniteFileCategory representing the detected categorization/class for the file.
extracted_data: Option<HashMap<String, String>>Unstructured information extracted from source system.
Implementations§
Source§impl ExtractorFileObject
impl ExtractorFileObject
Sourcepub fn new() -> ExtractorFileObject
pub fn new() -> ExtractorFileObject
Create a new file object.
Trait Implementations§
Source§impl Clone for ExtractorFileObject
impl Clone for ExtractorFileObject
Source§fn clone(&self) -> ExtractorFileObject
fn clone(&self) -> ExtractorFileObject
Returns a duplicate 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 Debug for ExtractorFileObject
impl Debug for ExtractorFileObject
Source§impl Default for ExtractorFileObject
impl Default for ExtractorFileObject
Source§fn default() -> ExtractorFileObject
fn default() -> ExtractorFileObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtractorFileObject
impl<'de> Deserialize<'de> for ExtractorFileObject
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 Serialize for ExtractorFileObject
impl Serialize for ExtractorFileObject
Auto Trait Implementations§
impl Freeze for ExtractorFileObject
impl RefUnwindSafe for ExtractorFileObject
impl Send for ExtractorFileObject
impl Sync for ExtractorFileObject
impl Unpin for ExtractorFileObject
impl UnwindSafe for ExtractorFileObject
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