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
Method
drop_table_if_exists
(&self, table_name: &str)
core/src/sql/mysql.rs:23
Method
drop_table_if_exists
(&self, table_name: &str)
core/src/sql/sqlite.rs:17
Method
drop_table_if_exists
Drops a table if it exists. This method: - Normalizes the provided table_name using self.fix_table_name. - Generates a DROP TABLE IF EXISTS SQL state
core/src/db/schema.rs:168
Method
drop_view
(&self, view_name: &str)
core/src/sql/mysql.rs:75
Method
drop_view
(&self, view_name: &str)
core/src/sql/sqlite.rs:62
Function
edit
(State(_state): State<AppState>, params: RawPathParams)
app/src/http/controllers/todo_controller.rs:57
Method
enable_foreign_key_constraints
(&self)
core/src/sql/mysql.rs:175
Method
enable_foreign_key_constraints
(&self)
core/src/sql/sqlite.rs:158
Method
enums
add enum column
core/src/db/table.rs:363
Method
exists_record
(&self, table: &str, column: &str, wanted: &str)
core/src/db/schema.rs:1831
Method
exists_record_except
( &self, table: &str, column: &str, wanted: &str, except_col: &str,
core/src/db/schema.rs:1869
Method
expecting
(&self, formatter: &mut fmt::Formatter)
core/src/localization/numbers.rs:27
Method
expecting
(&self, f: &mut std::fmt::Formatter)
graveyard/src/request_validator.rs:468
Method
factory
Starts a fluent builder. The returned builder produces a single instance via [`FactoryBuilder::create`]; call [`FactoryBuilder::count`] to produce ma
macros-core/src/factory.rs:37
Method
float
add float column
core/src/db/table.rs:284
Method
foreign_key
(&self, key: &ForeignKey, _table_name: &str, action: &TableAction)
core/src/sql/sqlite.rs:326
Method
from
(err: TemplateError)
artisan/src/make/make_error.rs:12
Method
from
(err: sqlx::Error)
core/src/sql/database_client.rs:27
Method
from_env
()
core/src/config/app.rs:37
Method
from_env
()
core/src/config/database.rs:40
Method
from_request
( req: Request<Body>, state: &S, )
core/src/http/request.rs:20
Method
from_str
(s: &str)
core/src/config/database.rs:93
Method
get_column_listing
(&self, table_name: &str)
core/src/sql/mysql.rs:46
Method
get_column_listing
(&self, table_name: &str)
core/src/sql/sqlite.rs:40
Method
get_current_schema_name
WIP : may use on postgres db
core/src/db/schema.rs:469
Method
get_foreign_keys
(&self, table_name: &str)
core/src/sql/mysql.rs:58
Method
get_foreign_keys
(&self, table_name: &str)
core/src/sql/sqlite.rs:55
Method
get_next_batch_number
(&self)
core/src/sql/mysql.rs:458
Method
get_next_batch_number
(&self)
core/src/sql/sqlite.rs:391
Method
get_ran
(&self)
core/src/sql/sqlite.rs:382
Method
get_ran_gt
(&self)
core/src/sql/sqlite.rs:386
Function
get_static_schema
()
core/src/db/mod.rs:9
Method
get_tables
(&self)
core/src/sql/mysql.rs:27
Method
get_tables
(&self)
core/src/sql/sqlite.rs:21
Method
get_views
(&self)
core/src/sql/mysql.rs:37
Method
get_views
(&self)
core/src/sql/sqlite.rs:31
Function
group_route_test
()
integration-tests/tests/route_test.rs:19
Method
has_column
(&self, table_name: &str, column_name: &str)
core/src/sql/mysql.rs:99
Method
has_column
(&self, table_name: &str, column_name: &str)
core/src/sql/sqlite.rs:85
Method
has_column
Checks if a specific column exists in a given table. This method: - Fixes the table name to ensure proper formatting. - Uses the database generator t
core/src/db/schema.rs:818
Method
has_index
(&self, table_name: &str, columns_name: Vec<&str>)
core/src/sql/mysql.rs:139
Method
has_index
(&self, table_name: &str, columns_name: Vec<&str>)
core/src/sql/sqlite.rs:123
Method
has_index
Checks if a specific index exists on a table for given columns. This method: - Fixes the table name to ensure proper formatting. - Uses the database
core/src/db/schema.rs:974
Method
has_table
(&self, table_name: &str)
core/src/sql/mysql.rs:113
Method
has_table
(&self, table_name: &str)
core/src/sql/sqlite.rs:97
Method
has_view
(&self, table_name: &str)
core/src/sql/mysql.rs:126
Method
has_view
(&self, table_name: &str)
core/src/sql/sqlite.rs:110
Method
has_view
Checks if a specific view exists in the database. This method: - Fixes the view name to ensure proper formatting. - Uses the database generator to cr
core/src/db/schema.rs:925
Function
hello
(State(state): State<AppState>)
app/src/routes/web.rs:43
Function
hello_api
()
app/src/routes/api.rs:36
Function
index
(State(_state): State<AppState>)
app/src/http/controllers/todo_controller.rs:16
Function
is_after
Validate if `value` is after the given date (YYYY-MM-DD).
macros-core/src/lib.rs:224
Function
is_after_option
(value: &str, target: &str)
macros-core/src/lib.rs:238
Function
is_after_option_date_ex
(value: Date, target: &str)
macros-core/src/lib.rs:266
Function
is_after_option_datetime_ex
(value: PrimitiveDateTime, target: &str)
macros-core/src/lib.rs:253
Function
is_before
Validate if `value` is before the given date (YYYY-MM-DD).
macros-core/src/lib.rs:231
Function
is_before_option
(value: &str, target: &str)
macros-core/src/lib.rs:282
Function
is_before_option_date_ex
(value: Date, target: &str)
macros-core/src/lib.rs:311
Function
is_before_option_datetime_ex
(value: PrimitiveDateTime, target: &str)
macros-core/src/lib.rs:298
Function
is_valid_ascii
Returns `true` if all characters in the string are ASCII. This function checks whether every byte in the string is within the ASCII range (0x00..=0x7
macros-core/src/lib.rs:131
Function
is_valid_ascii_alphanumeric
Returns `true` if all characters in the string are ASCII alphanumeric. This function checks whether every character in the string is within the ASCII
macros-core/src/lib.rs:149
Function
is_valid_date
Validate if the given string is a valid date (YYYY-MM-DD).
macros-core/src/lib.rs:185
Function
is_valid_datetime
Validate if the given string is a valid datetime (YYYY-MM-DD HH:MM:SS).
macros-core/src/lib.rs:198
Function
is_valid_email
Validate if the given string is a properly formatted email address. This function uses a regular expression to check that the input string matches th
macros-core/src/lib.rs:80
Function
is_valid_hex_color
Validate if the given string is a valid hexadecimal color. Supports formats like: - #FFF - #FFFFFF - FFF - FFFFFF
macros-core/src/lib.rs:114
Function
is_valid_ip
Returns `true` if the string is a valid IPv4 or IPv6 address. This function tries to parse the string into an `IpAddr`. If parsing succeeds, the stri
macros-core/src/lib.rs:167
Function
is_valid_json
Checks whether the input is valid JSON. Input: value `&str` Output: `true` if the string is a complete, valid JSON value; otherwise `false`. Behavior:
macros-core/src/lib.rs:175
Function
is_valid_time
Validate if the given string is a valid time (HH:MM:SS).
macros-core/src/lib.rs:211
Function
is_valid_url
Validate if the given string is a properly formatted URL. This function checks if the input string matches the general format for URLs. It supports s
macros-core/src/lib.rs:100
Function
it_works
()
integration-tests/src/lib.rs:10
Method
json
add json column
core/src/db/table.rs:249
Method
ldate
(&self, format: &str)
core/src/facades/datetime.rs:712
Method
level_str
(level: &LogLevel)
core/src/logger/worker.rs:47
Method
load
()
core/src/config/mod.rs:14
Function
log_request
(req: Request<Body>, next: Next)
app/src/http/middleware/log_middleware.rs:6
Method
long_text
add long text column
core/src/db/table.rs:244
Function
main
()
artisan/src/artisan.rs:72
Function
main
()
database/src/main.rs:27
Function
main
()
app/build.rs:7
Function
main
()
app/src/rustavel.rs:17
Function
main
()
graveyard/src/main.rs:3
Method
make_field
make field datatype of table
core/src/db/table.rs:163
Method
master
(&self)
core/src/sql/sqlite.rs:11
Function
mate_validate
(input: TokenStream)
macros/src/lib.rs:38
Method
medium_integer
add medium integer column
core/src/db/table.rs:269
Method
medium_text
add medium text column
core/src/db/table.rs:239
Method
morph
add morph columns ({morph}_type, {morph}_id)
core/src/db/table.rs:336
Method
new
()
core/src/routing.rs:53
Method
new
(rx: UnboundedReceiver<LogMessage>)
core/src/logger/worker.rs:14
Method
new
()
core/src/db/schema.rs:93
Method
new
create new instance of table
core/src/db/table.rs:108
Method
new
()
macros-core/src/lib.rs:44
Method
new
Creates an empty builder. Prefer [`Factory::factory`].
macros-core/src/factory.rs:58
Method
new
Creates a new, empty ValidationErrors collection. # Returns An empty ValidationErrors instance
graveyard/src/request_validator.rs:69
Function
now_compact
()
core/src/facades/datetime.rs:100
Function
now_rfc2822
()
core/src/facades/datetime.rs:109
Function
now_ymd
()
core/src/facades/datetime.rs:83
Function
now_ymd_hms
()
core/src/facades/datetime.rs:89
Method
nullable_morphs
add nullable morph columns ({morph}_type, {morph}_id)
core/src/db/table.rs:349
Function
parse_compact
( input: &str, )
core/src/facades/datetime.rs:160
← previous
next →
201–300 of 359, ranked by callers