Struct task_hookrs::annotation::Annotation [] [src]

pub struct Annotation {
    // some fields omitted
}

Methods

impl Annotation
[src]

fn new(entry: Date, description: String) -> Annotation

fn entry(&self) -> &Date

fn description(&self) -> &String

Trait Implementations

impl Debug for Annotation
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Annotation
[src]

fn clone(&self) -> Annotation

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Serialize for Annotation
[src]

fn serialize<S>(&self, serializer: &mut S) -> RResult<(), S::Error> where S: Serializer

Serializes this value into this serializer.

impl Deserialize for Annotation
[src]

fn deserialize<D>(deserializer: &mut D) -> RResult<Annotation, D::Error> where D: Deserializer

Deserialize this value given this Deserializer.