MCPcopy Create free account
hub / github.com/devflowinc/trieve / to_string

Method to_string

server/src/data/models.rs:4216–4222  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

4214impl MatchCondition {
4215 #[allow(clippy::inherent_to_string)]
4216 pub fn to_string(&self) -> String {
4217 match self {
4218 MatchCondition::Text(text) => text.clone(),
4219 MatchCondition::Integer(int) => int.to_string(),
4220 MatchCondition::Float(float) => float.to_string(),
4221 }
4222 }
4223
4224 pub fn to_i64(&self) -> i64 {
4225 match self {

Callers 15

create_taskFunction · 0.80
error_responseMethod · 0.80
from_tasksMethod · 0.80
fromMethod · 0.80
newMethod · 0.80
new_with_pagesMethod · 0.80
new_with_chunkrMethod · 0.80
mainFunction · 0.80
get_data_url_from_imageFunction · 0.80
get_markdown_from_imageFunction · 0.80
insert_pageFunction · 0.80
update_task_statusFunction · 0.80

Calls

no outgoing calls

Tested by 2