MCPcopy Create free account

hub / github.com/4xmen/rustavel / functions

Functions359 in github.com/4xmen/rustavel

Functionparse_rfc2822
( input: &str, )
core/src/facades/datetime.rs:171
Functionparse_rules
Parses a rule string like: "required|min:8|max:128|confirmed:password_confirmation" into a vector of `Rule` structs. This function is intentionally
graveyard/src/request_validator.rs:124
Functionparse_to_primitive_datetime
convert string to PrimitiveDateTime
core/src/facades/datetime.rs:188
Functionparse_ymd_hms
(input: &str)
core/src/facades/datetime.rs:137
Functionparse_ymd_hms_utc
( input: &str, )
core/src/facades/datetime.rs:147
Methodprimary_key
()
app/src/models/todo_generated.rs:23
Functionrandom
(min: i32, max: i32)
core/src/facades/number.rs:4
Methodrecord_exists
(&self, table: &str, column: &str)
core/src/sql/sqlite.rs:403
Methodrecord_exists_except
(&self,table: &str,column: &str, except: &str)
core/src/sql/sqlite.rs:407
Functionregister
#[axum::debug_handler]
app/src/http/controllers/test_controller.rs:62
Methodrem_migrated_table
(&self)
core/src/sql/mysql.rs:466
Methodrem_migrated_table
(&self)
core/src/sql/sqlite.rs:399
Methodrename
(&self, old_table_name: &str, new_table_name: &str)
core/src/sql/mysql.rs:179
Methodrename
(&self, old_table_name: &str, new_table_name: &str)
core/src/sql/sqlite.rs:162
Methodrename_prefix
Renames all tables by replacing the current prefix with a new prefix. This method: - Retrieves the list of all tables in the database. - Renames each
core/src/db/schema.rs:1258
Functionsample_handler
()
integration-tests/tests/route_test.rs:33
Functionschema_create_and_drop_table_check_column
()
integration-tests/tests/schema_test.rs:5
Functionserialize_date
(date: &Date, serializer: S)
core/src/facades/datetime.rs:227
Functionserialize_datetime
(date: &PrimitiveDateTime, serializer: S)
core/src/facades/datetime.rs:205
Functionserialize_time
(time: &Time, serializer: S)
core/src/facades/datetime.rs:251
Methodsets
add set column
core/src/db/table.rs:373
Functionshould_normalize_persian_numbers
()
integration-tests/tests/deserialzer_test.rs:26
Functionshould_not_parse
()
integration-tests/tests/deserialzer_test.rs:61
Functionshow
(State(_state): State<AppState>, params: RawPathParams)
app/src/http/controllers/todo_controller.rs:66
Functionsimple_route_test
()
integration-tests/tests/route_test.rs:10
Methodsmall_integer
add small integer column
core/src/db/table.rs:264
Functionstore
(State(_state): State<AppState>)
app/src/http/controllers/todo_controller.rs:54
Methodtable
()
app/src/models/todo_generated.rs:20
Methodtable_comment
add comment to table
core/src/db/table.rs:120
Methodtable_sql
( &self, table_name: &str, body_sql: &str, post_sql: &str, action: &Ta
core/src/sql/sqlite.rs:356
Functiontake_role
Picks a role at random for each generated user. Picks a role at random for each generated user.
macros/tests/basic.rs:79
Functiontest_all_roles_parsed
()
macros/tests/basic.rs:90
Functiontest_invalid_registration_payload
()
graveyard/src/request_validator.rs:591
Functiontest_validator_correct
()
integration-tests/tests/validator_test.rs:74
Functiontest_validator_not_correct
()
integration-tests/tests/validator_test.rs:96
Methodtext
add text column
core/src/db/table.rs:229
Methodtimestamp
add timestamp column
core/src/db/table.rs:317
Methodtiny_integer
add tiny integer column
core/src/db/table.rs:259
Methodtiny_text
add tiny text column
core/src/db/table.rs:234
Methodto_struct
(&self)
core/src/db/schema.rs:1929
Methodtry_get_column_listing
Attempts to retrieve the list of columns for a specified database table. This method: - Generates a SQL query to list columns for the given table nam
core/src/db/schema.rs:364
Methodtry_get_foreign_keys
Attempts to retrieve the list of foreign keys for a specific table in the database. This method: - Uses the database generator to create a SQL query
core/src/db/schema.rs:565
Methodtry_get_tables
Attempts to retrieve a list of tables in the database, returning an empty vector on failure. This method: - Uses the database generator to create a S
core/src/db/schema.rs:259
Methodtry_get_views
Attempts to retrieve the list of views in the database. This method: - Uses the database generator to create a SQL query for listing views. - Execute
core/src/db/schema.rs:456
Functionupdate
(State(_state): State<AppState>, params: RawPathParams)
app/src/http/controllers/todo_controller.rs:62
Functionvalidate_email
(field: &str, value: &String, errors: &mut ValidationErrors)
graveyard/src/request_validator.rs:163
Functionvalidate_numeric_range
(field: &str, value: T, rule: &Rule, errors: &mut ValidationErrors)
graveyard/src/request_validator.rs:191
Functionvalidate_required_option_string
( field: &str, value: &Option<String>, errors: &mut ValidationErrors, )
graveyard/src/request_validator.rs:153
Functionvalidate_required_string
(field: &str, value: &String, errors: &mut ValidationErrors)
graveyard/src/request_validator.rs:147
Functionvalidate_string_length
( field: &str, value: &String, rule: &Rule, errors: &mut ValidationErrors, )
graveyard/src/request_validator.rs:171
Methodvisit_bool
(self, v: bool)
graveyard/src/request_validator.rs:541
Methodvisit_f64
parse normal float
core/src/localization/numbers.rs:48
Methodvisit_f64
(self, v: f64)
graveyard/src/request_validator.rs:490
Methodvisit_i64
parse normal int
core/src/localization/numbers.rs:32
Methodvisit_i64
(self, v: i64)
graveyard/src/request_validator.rs:472
Methodvisit_str
(self, v: &str)
graveyard/src/request_validator.rs:499
Methodvisit_string
(self, v: String)
core/src/localization/numbers.rs:67
Methodvisit_u64
parse unsigned int
core/src/localization/numbers.rs:40
Methodvisit_u64
(self, v: u64)
graveyard/src/request_validator.rs:481
← previous301–359 of 359, ranked by callers