INNER CODE UNIT · Rust
set_clocks_value
ilya-zlobintsev/LACT · lact-client/src/lib.rs:233
pub async fn set_clocks_value(
&self,
id: &str,
command: SetClocksCommand,
) -> anyhow::Result<u64> {
self.make_request(Request::SetClocksValue { id, command })
.await
}
pub async fn set_profile_rule(
&self,
name: String,
rule: Option<ProfileRule>,
hooks: ProfileHooks,
) -> anyhow::Result<()> {
self.make_request(Request::SetProfileRule { name, rule, hooks })
.await
}