Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/4xmen/rustavel
/ functions
Functions
359 in github.com/4xmen/rustavel
⨍
Functions
359
◇
Types & classes
83
Function
parse_rfc2822
( input: &str, )
core/src/facades/datetime.rs:171
Function
parse_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
Function
parse_to_primitive_datetime
convert string to PrimitiveDateTime
core/src/facades/datetime.rs:188
Function
parse_ymd_hms
(input: &str)
core/src/facades/datetime.rs:137
Function
parse_ymd_hms_utc
( input: &str, )
core/src/facades/datetime.rs:147
Method
primary_key
()
app/src/models/todo_generated.rs:23
Function
random
(min: i32, max: i32)
core/src/facades/number.rs:4
Method
record_exists
(&self, table: &str, column: &str)
core/src/sql/sqlite.rs:403
Method
record_exists_except
(&self,table: &str,column: &str, except: &str)
core/src/sql/sqlite.rs:407
Function
register
#[axum::debug_handler]
app/src/http/controllers/test_controller.rs:62
Method
rem_migrated_table
(&self)
core/src/sql/mysql.rs:466
Method
rem_migrated_table
(&self)
core/src/sql/sqlite.rs:399
Method
rename
(&self, old_table_name: &str, new_table_name: &str)
core/src/sql/mysql.rs:179
Method
rename
(&self, old_table_name: &str, new_table_name: &str)
core/src/sql/sqlite.rs:162
Method
rename_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
Function
sample_handler
()
integration-tests/tests/route_test.rs:33
Function
schema_create_and_drop_table_check_column
()
integration-tests/tests/schema_test.rs:5
Function
serialize_date
(date: &Date, serializer: S)
core/src/facades/datetime.rs:227
Function
serialize_datetime
(date: &PrimitiveDateTime, serializer: S)
core/src/facades/datetime.rs:205
Function
serialize_time
(time: &Time, serializer: S)
core/src/facades/datetime.rs:251
Method
sets
add set column
core/src/db/table.rs:373
Function
should_normalize_persian_numbers
()
integration-tests/tests/deserialzer_test.rs:26
Function
should_not_parse
()
integration-tests/tests/deserialzer_test.rs:61
Function
show
(State(_state): State<AppState>, params: RawPathParams)
app/src/http/controllers/todo_controller.rs:66
Function
simple_route_test
()
integration-tests/tests/route_test.rs:10
Method
small_integer
add small integer column
core/src/db/table.rs:264
Function
store
(State(_state): State<AppState>)
app/src/http/controllers/todo_controller.rs:54
Method
table
()
app/src/models/todo_generated.rs:20
Method
table_comment
add comment to table
core/src/db/table.rs:120
Method
table_sql
( &self, table_name: &str, body_sql: &str, post_sql: &str, action: &Ta
core/src/sql/sqlite.rs:356
Function
take_role
Picks a role at random for each generated user. Picks a role at random for each generated user.
macros/tests/basic.rs:79
Function
test_all_roles_parsed
()
macros/tests/basic.rs:90
Function
test_invalid_registration_payload
()
graveyard/src/request_validator.rs:591
Function
test_validator_correct
()
integration-tests/tests/validator_test.rs:74
Function
test_validator_not_correct
()
integration-tests/tests/validator_test.rs:96
Method
text
add text column
core/src/db/table.rs:229
Method
timestamp
add timestamp column
core/src/db/table.rs:317
Method
tiny_integer
add tiny integer column
core/src/db/table.rs:259
Method
tiny_text
add tiny text column
core/src/db/table.rs:234
Method
to_struct
(&self)
core/src/db/schema.rs:1929
Method
try_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
Method
try_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
Method
try_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
Method
try_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
Function
update
(State(_state): State<AppState>, params: RawPathParams)
app/src/http/controllers/todo_controller.rs:62
Function
validate_email
(field: &str, value: &String, errors: &mut ValidationErrors)
graveyard/src/request_validator.rs:163
Function
validate_numeric_range
(field: &str, value: T, rule: &Rule, errors: &mut ValidationErrors)
graveyard/src/request_validator.rs:191
Function
validate_required_option_string
( field: &str, value: &Option<String>, errors: &mut ValidationErrors, )
graveyard/src/request_validator.rs:153
Function
validate_required_string
(field: &str, value: &String, errors: &mut ValidationErrors)
graveyard/src/request_validator.rs:147
Function
validate_string_length
( field: &str, value: &String, rule: &Rule, errors: &mut ValidationErrors, )
graveyard/src/request_validator.rs:171
Method
visit_bool
(self, v: bool)
graveyard/src/request_validator.rs:541
Method
visit_f64
parse normal float
core/src/localization/numbers.rs:48
Method
visit_f64
(self, v: f64)
graveyard/src/request_validator.rs:490
Method
visit_i64
parse normal int
core/src/localization/numbers.rs:32
Method
visit_i64
(self, v: i64)
graveyard/src/request_validator.rs:472
Method
visit_str
(self, v: &str)
graveyard/src/request_validator.rs:499
Method
visit_string
(self, v: String)
core/src/localization/numbers.rs:67
Method
visit_u64
parse unsigned int
core/src/localization/numbers.rs:40
Method
visit_u64
(self, v: u64)
graveyard/src/request_validator.rs:481
← previous
301–359 of 359, ranked by callers