Skip to main content

Video

Struct Video 

Source
pub struct Video {
Show 62 fields pub id: String, pub schema: String, pub address: Option<Vec<String>>, pub address_entity: Option<Vec<String>>, pub aleph_url: Option<Vec<String>>, pub alias: Option<Vec<String>>, pub ancestors: Option<Vec<String>>, pub author: Option<Vec<String>>, pub authored_at: Option<Vec<String>>, pub body_text: Option<Vec<String>>, pub companies_mentioned: Option<Vec<String>>, pub content_hash: Option<Vec<String>>, pub country: Option<Vec<String>>, pub crawler: Option<Vec<String>>, pub created_at: Option<Vec<String>>, pub date: Option<Vec<String>>, pub description: Option<Vec<String>>, pub detected_country: Option<Vec<String>>, pub detected_language: Option<Vec<String>>, pub duration: Option<Vec<f64>>, pub email_mentioned: Option<Vec<String>>, pub encoding: Option<Vec<String>>, pub extension: Option<Vec<String>>, pub file_name: Vec<String>, pub file_size: Option<Vec<f64>>, pub generator: Option<Vec<String>>, pub iban_mentioned: Option<Vec<String>>, pub index_text: Option<Vec<String>>, pub ip_mentioned: Option<Vec<String>>, pub keywords: Option<Vec<String>>, pub language: Option<Vec<String>>, pub location_mentioned: Option<Vec<String>>, pub message_id: Option<Vec<String>>, pub mime_type: Option<Vec<String>>, pub modified_at: Option<Vec<String>>, pub name: Vec<String>, pub names_mentioned: Option<Vec<String>>, pub notes: Option<Vec<String>>, pub parent: Option<Vec<String>>, pub people_mentioned: Option<Vec<String>>, pub phone_mentioned: Option<Vec<String>>, pub previous_name: Option<Vec<String>>, pub processed_at: Option<Vec<String>>, pub processing_agent: Option<Vec<String>>, pub processing_error: Option<Vec<String>>, pub processing_status: Option<Vec<String>>, pub program: Option<Vec<String>>, pub program_id: Option<Vec<String>>, pub proof: Option<Vec<String>>, pub published_at: Option<Vec<String>>, pub publisher: Option<Vec<String>>, pub publisher_url: Option<Vec<String>>, pub retrieved_at: Option<Vec<String>>, pub source_url: Option<Vec<String>>, pub summary: Option<Vec<String>>, pub title: Option<Vec<String>>, pub topics: Option<Vec<String>>, pub translated_language: Option<Vec<String>>, pub translated_text: Option<Vec<String>>, pub weak_alias: Option<Vec<String>>, pub wikidata_id: Option<Vec<String>>, pub wikipedia_url: Option<Vec<String>>,
}
Expand description

FTM Schema: Video

Fields§

§id: String§schema: String§address: Option<Vec<String>>

Property: Address

§address_entity: Option<Vec<String>>

Property: Address

§aleph_url: Option<Vec<String>>

Property: Aleph URL

§alias: Option<Vec<String>>

Property: Alias

§ancestors: Option<Vec<String>>

Property: Ancestors

§author: Option<Vec<String>>

Property: Author

§authored_at: Option<Vec<String>>

Property: Authored on

§body_text: Option<Vec<String>>

Property: Text

§companies_mentioned: Option<Vec<String>>

Property: Detected companies

§content_hash: Option<Vec<String>>

Property: Checksum

§country: Option<Vec<String>>

Property: Country

§crawler: Option<Vec<String>>

Property: Crawler

§created_at: Option<Vec<String>>

Property: Created at

§date: Option<Vec<String>>

Property: Date

§description: Option<Vec<String>>

Property: Description

§detected_country: Option<Vec<String>>

Property: Detected country

§detected_language: Option<Vec<String>>

Property: Detected language

§duration: Option<Vec<f64>>

Property: Duration

§email_mentioned: Option<Vec<String>>

Property: Detected e-mail addresses

§encoding: Option<Vec<String>>

Property: File encoding

§extension: Option<Vec<String>>

Property: File extension

§file_name: Vec<String>

Property: File name

§file_size: Option<Vec<f64>>

Property: File size

§generator: Option<Vec<String>>

Property: Generator

§iban_mentioned: Option<Vec<String>>

Property: Detected IBANs

§index_text: Option<Vec<String>>

Property: Index text

§ip_mentioned: Option<Vec<String>>

Property: Detected IP addresses

§keywords: Option<Vec<String>>

Property: Keywords

§language: Option<Vec<String>>

Property: Language

§location_mentioned: Option<Vec<String>>

Property: Detected locations

§message_id: Option<Vec<String>>

Property: Message ID

§mime_type: Option<Vec<String>>

Property: MIME type

§modified_at: Option<Vec<String>>

Property: Modified on

§name: Vec<String>

Property: Name

§names_mentioned: Option<Vec<String>>

Property: Detected names

§notes: Option<Vec<String>>

Property: Notes

§parent: Option<Vec<String>>

Property: Folder

§people_mentioned: Option<Vec<String>>

Property: Detected people

§phone_mentioned: Option<Vec<String>>

Property: Detected phones

§previous_name: Option<Vec<String>>

Property: Previous name

§processed_at: Option<Vec<String>>

Property: Processed at

§processing_agent: Option<Vec<String>>

Property: Processing agent

§processing_error: Option<Vec<String>>

Property: Processing error

§processing_status: Option<Vec<String>>

Property: Processing status

§program: Option<Vec<String>>

Property: Program

§program_id: Option<Vec<String>>

Property: Program ID

§proof: Option<Vec<String>>

Property: Source document

§published_at: Option<Vec<String>>

Property: Published on

§publisher: Option<Vec<String>>

Property: Publishing source

§publisher_url: Option<Vec<String>>

Property: Publishing source URL

§retrieved_at: Option<Vec<String>>

Property: Retrieved on

§source_url: Option<Vec<String>>

Property: Source link

§summary: Option<Vec<String>>

Property: Summary

§title: Option<Vec<String>>

Property: Title

§topics: Option<Vec<String>>

Property: Topics

§translated_language: Option<Vec<String>>

Property: The language of the translated text

§translated_text: Option<Vec<String>>

Property: Translated version of the body text

§weak_alias: Option<Vec<String>>

Property: Weak alias

§wikidata_id: Option<Vec<String>>

Property: Wikidata ID

§wikipedia_url: Option<Vec<String>>

Property: Wikipedia Article

Implementations§

Source§

impl Video

Source

pub fn builder() -> VideoBuilder

Create an instance of Video using the builder syntax

Source§

impl Video

Source

pub fn new(id: impl Into<String>) -> Self

👎Deprecated: Use the builder() method instead to ensure required fields are set

Create a new entity with the given ID

Source

pub fn schema_name() -> &'static str

Get the schema name

Source

pub fn to_ftm_json(&self) -> Result<String, Error>

Serialize to standard FTM nested JSON format

Produces {"id": "...", "schema": "...", "properties": {...}}

Trait Implementations§

Source§

impl Analyzable for Video

Source§

fn id(&self) -> &str

Get the entity ID
Source§

fn schema(&self) -> &str

Get the schema name
Source§

fn companies_mentioned(&self) -> Option<&[String]>

Get Detected companies property
Source§

fn detected_country(&self) -> Option<&[String]>

Get Detected country property
Source§

fn detected_language(&self) -> Option<&[String]>

Get Detected language property
Source§

fn email_mentioned(&self) -> Option<&[String]>

Get Detected e-mail addresses property
Source§

fn iban_mentioned(&self) -> Option<&[String]>

Get Detected IBANs property
Source§

fn ip_mentioned(&self) -> Option<&[String]>

Get Detected IP addresses property
Source§

fn location_mentioned(&self) -> Option<&[String]>

Get Detected locations property
Source§

fn names_mentioned(&self) -> Option<&[String]>

Get Detected names property
Source§

fn people_mentioned(&self) -> Option<&[String]>

Get Detected people property
Source§

fn phone_mentioned(&self) -> Option<&[String]>

Get Detected phones property
Source§

impl Clone for Video

Source§

fn clone(&self) -> Video

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Video

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Video

Source§

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 From<Video> for FtmEntity

Source§

fn from(entity: Video) -> Self

Converts to this type from the input type.
Source§

impl Serialize for Video

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Thing for Video

Source§

fn id(&self) -> &str

Get the entity ID
Source§

fn schema(&self) -> &str

Get the schema name
Source§

fn address(&self) -> Option<&[String]>

Get Address property
Source§

fn address_entity(&self) -> Option<&[String]>

Get Address property
Source§

fn aleph_url(&self) -> Option<&[String]>

Get Aleph URL property
Source§

fn alias(&self) -> Option<&[String]>

Get Alias property
Source§

fn country(&self) -> Option<&[String]>

Get Country property
Source§

fn created_at(&self) -> Option<&[String]>

Get Created at property
Source§

fn description(&self) -> Option<&[String]>

Get Description property
Source§

fn index_text(&self) -> Option<&[String]>

Get Index text property
Source§

fn keywords(&self) -> Option<&[String]>

Get Keywords property
Source§

fn modified_at(&self) -> Option<&[String]>

Get Modified on property
Source§

fn name(&self) -> Option<&[String]>

Get Name property
Source§

fn notes(&self) -> Option<&[String]>

Get Notes property
Source§

fn previous_name(&self) -> Option<&[String]>

Get Previous name property
Source§

fn program(&self) -> Option<&[String]>

Get Program property
Source§

fn program_id(&self) -> Option<&[String]>

Get Program ID property
Source§

fn proof(&self) -> Option<&[String]>

Get Source document property
Source§

fn publisher(&self) -> Option<&[String]>

Get Publishing source property
Source§

fn publisher_url(&self) -> Option<&[String]>

Get Publishing source URL property
Source§

fn retrieved_at(&self) -> Option<&[String]>

Get Retrieved on property
Source§

fn source_url(&self) -> Option<&[String]>

Get Source link property
Source§

fn summary(&self) -> Option<&[String]>

Get Summary property
Source§

fn topics(&self) -> Option<&[String]>

Get Topics property
Source§

fn weak_alias(&self) -> Option<&[String]>

Get Weak alias property
Source§

fn wikidata_id(&self) -> Option<&[String]>

Get Wikidata ID property
Source§

fn wikipedia_url(&self) -> Option<&[String]>

Get Wikipedia Article property

Auto Trait Implementations§

§

impl Freeze for Video

§

impl RefUnwindSafe for Video

§

impl Send for Video

§

impl Sync for Video

§

impl Unpin for Video

§

impl UnsafeUnpin for Video

§

impl UnwindSafe for Video

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,