outkeep/text_note

Types

pub type TextNote {
  TextNote(
    title: String,
    is_archived: Bool,
    is_trashed: Bool,
    text: String,
    created_at: Time,
    edited_at: Time,
  )
}

Constructors

  • TextNote(
      title: String,
      is_archived: Bool,
      is_trashed: Bool,
      text: String,
      created_at: Time,
      edited_at: Time,
    )

Functions

pub fn decode(
  dyn: Dynamic,
) -> Result(TextNote, List(DecodeError))
Search Document