[−][src]Trait nanowrimo::data::ObjectInfo
A trait for all types that represent an 'Object' in the Nano API. See Object
for the
most general form of this.
Required methods
pub fn kind(&self) -> NanoKind
[src]
Retrive the kind of this Object
pub fn id(&self) -> u64
[src]
Retrieve the ID of this object
pub fn relationships(&self) -> &Option<RelationInfo>
[src]
Get the relationships of this Object, if it has any
pub fn links(&self) -> &LinkInfo
[src]
Get the links for this Object, of which there should always be at least a link for self