pub trait InternalUsageMetadataService<I: Iterator<Item = Result<Bytes, Error>>> {
// Required method
fn set_usage_dataset_for_workspace(
&self,
auth_: &BearerToken,
workspace_rid: &ResourceIdentifier,
dataset_rid: &ResourceIdentifier,
) -> Result<(), Error>;
}Expand description
Internal service for managing per-workspace usage tracking dataset metadata.
Required Methods§
Sourcefn set_usage_dataset_for_workspace(
&self,
auth_: &BearerToken,
workspace_rid: &ResourceIdentifier,
dataset_rid: &ResourceIdentifier,
) -> Result<(), Error>
fn set_usage_dataset_for_workspace( &self, auth_: &BearerToken, workspace_rid: &ResourceIdentifier, dataset_rid: &ResourceIdentifier, ) -> Result<(), Error>
Sets the usage tracking dataset RID for the specified workspace. Creates or updates the mapping.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".