src | ||
.gitignore | ||
build.rs | ||
Cargo.toml | ||
README.md | ||
specs.md |
Generated Model Code
This README documents the automatically generated code for the data models.
Table of Contents
Meeting
Fields
id
: Stringtitle
: Stringdescription
: Stringparticipants
: Vecstart
: String
Builder Methods
with_title(value)
: Sets the title field (String)with_description(value)
: Sets the description field (String)with_participants(value)
: Sets the participants field (Vec)with_start(value)
: Sets the start field (String)meeting()
: Creates a new Meeting builderget_fields()
: Returns a Map of all set fields
Database Operations
create_meeting_typed(fields)
: Creates a new Meeting in the databasefind_meeting_by_id_typed(id)
: Finds a Meeting by IDupdate_meeting_typed(id, fields)
: Updates a Meeting in the databasedelete_meeting_typed(id)
: Deletes a Meeting from the databaselist_meetings_typed()
: Lists all Meetings in the databasefilter_meetings_typed(query)
: Filters Meetings based on query parametersfind_meeting_typed(query)
: Finds a specific Meeting based on query parameters
Rhai Integration
create_meeting(fields)
: Creates a new Meeting in the databasefind_meeting_by_id(id)
: Finds a Meeting by IDupdate_meeting(id, fields)
: Updates a Meeting in the databasedelete_meeting(id)
: Deletes a Meeting from the databaselist_meetings()
: Lists all Meetings in the databasefilter_meetings(query)
: Filters Meetings based on query parametersfind_meeting(query)
: Finds a specific Meeting based on query parameters
Task
Fields
id
: Stringtitle
: Stringdescription
: Stringassignee
: Stringdue_date
: Stringpriority
: Stringcompleted
: bool
Builder Methods
with_title(value)
: Sets the title field (String)with_description(value)
: Sets the description field (String)with_assignee(value)
: Sets the assignee field (String)with_due_date(value)
: Sets the due_date field (String)with_priority(value)
: Sets the priority field (String)with_completed(value)
: Sets the completed field (bool)task()
: Creates a new Task builderget_fields()
: Returns a Map of all set fields
Database Operations
create_task_typed(fields)
: Creates a new Task in the databasefind_task_by_id_typed(id)
: Finds a Task by IDupdate_task_typed(id, fields)
: Updates a Task in the databasedelete_task_typed(id)
: Deletes a Task from the databaselist_tasks_typed()
: Lists all Tasks in the databasefilter_tasks_typed(query)
: Filters Tasks based on query parametersfind_task_typed(query)
: Finds a specific Task based on query parameters
Rhai Integration
create_task(fields)
: Creates a new Task in the databasefind_task_by_id(id)
: Finds a Task by IDupdate_task(id, fields)
: Updates a Task in the databasedelete_task(id)
: Deletes a Task from the databaselist_tasks()
: Lists all Tasks in the databasefilter_tasks(query)
: Filters Tasks based on query parametersfind_task(query)
: Finds a specific Task based on query parameters