Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ rust_dec
Function
rust_dec
tests/common/setup/mod.rs:162–165 ·
view source on GitHub ↗
(v: T)
Source
from the content-addressed store, hash-verified
160
}
161
162
pub fn rust_dec<T: ToString>(v: T) -> rust_decimal::Decimal {
163
use std::str::FromStr;
164
rust_decimal::Decimal::from_str(&v.to_string()).unwrap()
165
}
Callers
15
exists_with_joins
Function · 0.85
create_baker_cake
Function · 0.85
create_and_update_pi
Function · 0.85
test_error
Function · 0.85
transaction_with_active_model_behaviour
Function · 0.85
right_join
Function · 0.85
inner_join
Function · 0.85
group_by
Function · 0.85
having
Function · 0.85
linked
Function · 0.85
seed_data
Function · 0.85
create_cake
Function · 0.85
Calls
1
unwrap
Method · 0.80
Tested by
15
exists_with_joins
Function · 0.68
create_baker_cake
Function · 0.68
create_and_update_pi
Function · 0.68
test_error
Function · 0.68
transaction_with_active_model_behaviour
Function · 0.68
right_join
Function · 0.68
inner_join
Function · 0.68
group_by
Function · 0.68
having
Function · 0.68
linked
Function · 0.68
seed_data
Function · 0.68
create_cake
Function · 0.68