Struct json_api::doc::relationship::RelationshipBuilder
[−]
[src]
pub struct RelationshipBuilder { /* fields omitted */ }
Methods
impl RelationshipBuilder
[src]
fn finalize(&mut self) -> Result<Relationship, Error>
[src]
fn data(&mut self, value: Data<Identifier>) -> &mut Self
[src]
fn link<K>(&mut self, key: K, value: Link) -> &mut Self where
K: AsRef<str>,
[src]
K: AsRef<str>,
fn meta<K, V>(&mut self, key: K, value: V) -> &mut Self where
K: AsRef<str>,
V: Into<Value>,
[src]
K: AsRef<str>,
V: Into<Value>,
Trait Implementations
impl Debug for RelationshipBuilder
[src]
impl Default for RelationshipBuilder
[src]
fn default() -> RelationshipBuilder
[src]
Returns the "default value" for a type. Read more