cognite-sdk 0.6.2

SDK for the Cognite Data Fusion API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::api::resource::*;
use crate::dto::data_organization::labels::*;
use crate::CogniteExternalId;

/// API resource for labels.
pub type LabelsResource = Resource<Label>;

impl WithBasePath for LabelsResource {
    const BASE_PATH: &'static str = "labels";
}

impl Create<AddLabel, Label> for LabelsResource {}
impl FilterItems<LabelFilter, Label> for LabelsResource {}
impl Delete<CogniteExternalId> for LabelsResource {}