Struct stencila_schema::SoftwareSourceCode [−][src]
pub struct SoftwareSourceCode {Show fields
pub type_: String,
pub about: Option<Vec<Thing>>,
pub alternate_names: Option<Vec<String>>,
pub authors: Option<Vec<SoftwareSourceCodeAuthors>>,
pub code_repository: Option<String>,
pub code_sample_type: Option<String>,
pub comments: Option<Vec<Comment>>,
pub content: Option<Vec<Node>>,
pub date_accepted: Option<Date>,
pub date_created: Option<Date>,
pub date_modified: Option<Date>,
pub date_published: Option<Date>,
pub date_received: Option<Date>,
pub description: Option<SoftwareSourceCodeDescription>,
pub editors: Option<Vec<Person>>,
pub funded_by: Option<Vec<SoftwareSourceCodeFundedBy>>,
pub funders: Option<Vec<SoftwareSourceCodeFunders>>,
pub genre: Option<Vec<String>>,
pub id: Option<String>,
pub identifiers: Option<Vec<SoftwareSourceCodeIdentifiers>>,
pub images: Option<Vec<SoftwareSourceCodeImages>>,
pub is_part_of: Option<Arc<CreativeWorkTypes>>,
pub keywords: Option<Vec<String>>,
pub licenses: Option<Vec<SoftwareSourceCodeLicenses>>,
pub maintainers: Option<Vec<SoftwareSourceCodeMaintainers>>,
pub meta: Option<HashMap<String, Value>>,
pub name: Option<String>,
pub parts: Option<Vec<CreativeWorkTypes>>,
pub programming_language: Option<String>,
pub publisher: Option<SoftwareSourceCodePublisher>,
pub references: Option<Vec<SoftwareSourceCodeReferences>>,
pub runtime_platform: Option<Vec<String>>,
pub software_requirements: Option<Vec<SoftwareSourceCodeSoftwareRequirements>>,
pub target_products: Option<Vec<SoftwareApplication>>,
pub text: Option<String>,
pub title: Option<SoftwareSourceCodeTitle>,
pub url: Option<String>,
pub version: Option<SoftwareSourceCodeVersion>,
}Expand description
SoftwareSourceCode
Computer programming source code. Example: Full (compile ready) solutions, code snippet samples, scripts, templates.
Fields
type_: StringExpand description
The name of this type
about: Option<Vec<Thing>>Expand description
The subject matter of the content.
alternate_names: Option<Vec<String>>Expand description
Alternate names (aliases) for the item.
Expand description
The authors of this creative work.
code_repository: Option<String>Expand description
Link to the repository where the un-compiled, human readable code and related code is located.
code_sample_type: Option<String>Expand description
What type of code sample: full (compile ready) solution, code snippet, inline code, scripts, template.
comments: Option<Vec<Comment>>Expand description
Comments about this creative work.
content: Option<Vec<Node>>Expand description
The structured content of this creative work c.f. property text.
date_accepted: Option<Date>Expand description
Date/time of acceptance.
date_created: Option<Date>Expand description
Date/time of creation.
date_modified: Option<Date>Expand description
Date/time of most recent modification.
date_published: Option<Date>Expand description
Date of first publication.
date_received: Option<Date>Expand description
Date/time that work was received.
description: Option<SoftwareSourceCodeDescription>Expand description
A description of the item.
editors: Option<Vec<Person>>Expand description
People who edited the CreativeWork.
funded_by: Option<Vec<SoftwareSourceCodeFundedBy>>Expand description
Grants that funded the CreativeWork; reverse of fundedItems.
funders: Option<Vec<SoftwareSourceCodeFunders>>Expand description
People or organizations that funded the CreativeWork.
genre: Option<Vec<String>>Expand description
Genre of the creative work, broadcast channel or group.
id: Option<String>Expand description
The identifier for this item.
identifiers: Option<Vec<SoftwareSourceCodeIdentifiers>>Expand description
Any kind of identifier for any kind of Thing.
images: Option<Vec<SoftwareSourceCodeImages>>Expand description
Images of the item.
is_part_of: Option<Arc<CreativeWorkTypes>>Expand description
An item or other CreativeWork that this CreativeWork is a part of.
keywords: Option<Vec<String>>Expand description
Keywords or tags used to describe this content. Multiple entries in a keywords list are typically delimited by commas.
licenses: Option<Vec<SoftwareSourceCodeLicenses>>Expand description
License documents that applies to this content, typically indicated by URL.
maintainers: Option<Vec<SoftwareSourceCodeMaintainers>>Expand description
The people or organizations who maintain this CreativeWork.
meta: Option<HashMap<String, Value>>Expand description
Metadata associated with this item.
name: Option<String>Expand description
The name of the item.
parts: Option<Vec<CreativeWorkTypes>>Expand description
Elements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more.
programming_language: Option<String>Expand description
The computer programming language.
publisher: Option<SoftwareSourceCodePublisher>Expand description
A publisher of the CreativeWork.
references: Option<Vec<SoftwareSourceCodeReferences>>Expand description
References to other creative works, such as another publication, web page, scholarly article, etc.
runtime_platform: Option<Vec<String>>Expand description
Runtime platform or script interpreter dependencies (Example - Java v1, Python2.3, .Net Framework 3.0).
software_requirements: Option<Vec<SoftwareSourceCodeSoftwareRequirements>>Expand description
Dependency requirements for the software.
target_products: Option<Vec<SoftwareApplication>>Expand description
Target operating system or product to which the code applies.
text: Option<String>Expand description
The textual content of this creative work.
title: Option<SoftwareSourceCodeTitle>Expand description
The title of the creative work.
url: Option<String>Expand description
The URL of the item.
version: Option<SoftwareSourceCodeVersion>Expand description
The version of the creative work.
Implementations
impl SoftwareSourceCode[src]
impl SoftwareSourceCode[src]pub fn deserialize_type<'de, D>(d: D) -> Result<String, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Trait Implementations
impl Debug for SoftwareSourceCode[src]
impl Debug for SoftwareSourceCode[src]impl Default for SoftwareSourceCode[src]
impl Default for SoftwareSourceCode[src]impl<'de> Deserialize<'de> for SoftwareSourceCode where
SoftwareSourceCode: Default, [src]
impl<'de> Deserialize<'de> for SoftwareSourceCode where
SoftwareSourceCode: Default, [src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl Serialize for SoftwareSourceCode[src]
impl Serialize for SoftwareSourceCode[src]Auto Trait Implementations
impl RefUnwindSafe for SoftwareSourceCode
impl Send for SoftwareSourceCode
impl Sync for SoftwareSourceCode
impl Unpin for SoftwareSourceCode
impl UnwindSafe for SoftwareSourceCode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,