Module functions
Source pub use time::duration;
pub use time::timestamp;
- time
- FunctionContext
FunctionContext
is a context object passed to functions when they are called.
- bytes
- contains
- Returns true if the target contains the provided argument. The actual behavior
depends mainly on the type of the target.
- double
- ends_with
- Returns true if a string ends with another string.
- int
- matches
- Returns true if a string matches the regular expression.
- max
- min
- size
- Calculates the size of either the target, or the provided args depending on how
the function is called.
- starts_with
- Returns true if a string starts with another string.
- string
- uint