Skip to main content

azure_devops/work_items/models/structs/json_patch_operation/
remove.rs

1use super::struct_::JsonPatchOperation;
2
3impl JsonPatchOperation {
4    pub fn remove(path: impl Into<String>) -> Self {
5        Self {
6            op: "remove".into(),
7            path: path.into(),
8            value: None,
9            from: None,
10        }
11    }
12}