pub struct ProjectParticipant {Show 21 fields
pub id: String,
pub schema: String,
pub aleph_url: Option<Vec<String>>,
pub date: Option<Vec<String>>,
pub description: Option<Vec<String>>,
pub end_date: Option<Vec<String>>,
pub index_text: Option<Vec<String>>,
pub modified_at: Option<Vec<String>>,
pub names_mentioned: Option<Vec<String>>,
pub participant: Option<Vec<String>>,
pub project: Option<Vec<String>>,
pub proof: Option<Vec<String>>,
pub publisher: Option<Vec<String>>,
pub publisher_url: Option<Vec<String>>,
pub record_id: Option<Vec<String>>,
pub retrieved_at: Option<Vec<String>>,
pub role: Option<Vec<String>>,
pub source_url: Option<Vec<String>>,
pub start_date: Option<Vec<String>>,
pub status: Option<Vec<String>>,
pub summary: Option<Vec<String>>,
}Expand description
FTM Schema: Project participant
Fields§
§id: String§schema: String§aleph_url: Option<Vec<String>>Property: Aleph URL
date: Option<Vec<String>>Property: Date
description: Option<Vec<String>>Property: Description
end_date: Option<Vec<String>>Property: End date
index_text: Option<Vec<String>>Property: Index text
modified_at: Option<Vec<String>>Property: Modified on
names_mentioned: Option<Vec<String>>Property: Detected names
participant: Option<Vec<String>>Property: Participant
project: Option<Vec<String>>Property: Project
proof: Option<Vec<String>>Property: Source document
publisher: Option<Vec<String>>Property: Publishing source
publisher_url: Option<Vec<String>>Property: Publishing source URL
record_id: Option<Vec<String>>Property: Record ID
retrieved_at: Option<Vec<String>>Property: Retrieved on
role: Option<Vec<String>>Property: Role
source_url: Option<Vec<String>>Property: Source link
start_date: Option<Vec<String>>Property: Start date
status: Option<Vec<String>>Property: Status
summary: Option<Vec<String>>Property: Summary
Implementations§
Source§impl ProjectParticipant
impl ProjectParticipant
Sourcepub fn builder() -> ProjectParticipantBuilder
pub fn builder() -> ProjectParticipantBuilder
Create an instance of ProjectParticipant using the builder syntax
Source§impl ProjectParticipant
impl ProjectParticipant
Sourcepub fn new(id: impl Into<String>) -> Self
👎Deprecated: Use the builder() method instead to ensure required fields are set
pub fn new(id: impl Into<String>) -> Self
Create a new entity with the given ID
Sourcepub fn schema_name() -> &'static str
pub fn schema_name() -> &'static str
Get the schema name
Sourcepub fn to_ftm_json(&self) -> Result<String, Error>
pub fn to_ftm_json(&self) -> Result<String, Error>
Serialize to standard FTM nested JSON format
Produces {"id": "...", "schema": "...", "properties": {...}}
Trait Implementations§
Source§impl Clone for ProjectParticipant
impl Clone for ProjectParticipant
Source§fn clone(&self) -> ProjectParticipant
fn clone(&self) -> ProjectParticipant
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 ProjectParticipant
impl Debug for ProjectParticipant
Source§impl<'de> Deserialize<'de> for ProjectParticipant
impl<'de> Deserialize<'de> for ProjectParticipant
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 From<ProjectParticipant> for FtmEntity
impl From<ProjectParticipant> for FtmEntity
Source§fn from(entity: ProjectParticipant) -> Self
fn from(entity: ProjectParticipant) -> Self
Converts to this type from the input type.
Source§impl Interest for ProjectParticipant
impl Interest for ProjectParticipant
Source§impl Interval for ProjectParticipant
impl Interval for ProjectParticipant
Source§fn description(&self) -> Option<&[String]>
fn description(&self) -> Option<&[String]>
Get Description property
Source§fn index_text(&self) -> Option<&[String]>
fn index_text(&self) -> Option<&[String]>
Get Index text property
Source§fn modified_at(&self) -> Option<&[String]>
fn modified_at(&self) -> Option<&[String]>
Get Modified on property
Source§fn names_mentioned(&self) -> Option<&[String]>
fn names_mentioned(&self) -> Option<&[String]>
Get Detected names property
Source§fn publisher_url(&self) -> Option<&[String]>
fn publisher_url(&self) -> Option<&[String]>
Get Publishing source URL property
Source§fn retrieved_at(&self) -> Option<&[String]>
fn retrieved_at(&self) -> Option<&[String]>
Get Retrieved on property
Source§fn source_url(&self) -> Option<&[String]>
fn source_url(&self) -> Option<&[String]>
Get Source link property
Source§fn start_date(&self) -> Option<&[String]>
fn start_date(&self) -> Option<&[String]>
Get Start date property
Auto Trait Implementations§
impl Freeze for ProjectParticipant
impl RefUnwindSafe for ProjectParticipant
impl Send for ProjectParticipant
impl Sync for ProjectParticipant
impl Unpin for ProjectParticipant
impl UnsafeUnpin for ProjectParticipant
impl UnwindSafe for ProjectParticipant
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