pub struct GraphRetentionSetParams {
pub graph_id: String,
pub state: String,
pub reason: String,
pub actor: String,
pub review_after: Option<String>,
}Expand description
Set one explicit lifecycle state. Deletion requires delete_candidate followed by delete_approved.
Fields§
§graph_id: StringGraph ID to classify.
state: StringOne of active, pinned, archived, delete_candidate, or delete_approved.
reason: StringWhy this lifecycle transition is appropriate.
actor: StringOperator or service principal recording the decision.
review_after: Option<String>Optional ISO-8601 review deadline.
Trait Implementations§
Source§impl Debug for GraphRetentionSetParams
impl Debug for GraphRetentionSetParams
Source§impl<'de> Deserialize<'de> for GraphRetentionSetParams
impl<'de> Deserialize<'de> for GraphRetentionSetParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for GraphRetentionSetParams
impl JsonSchema for GraphRetentionSetParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for GraphRetentionSetParams
impl RefUnwindSafe for GraphRetentionSetParams
impl Send for GraphRetentionSetParams
impl Sync for GraphRetentionSetParams
impl Unpin for GraphRetentionSetParams
impl UnsafeUnpin for GraphRetentionSetParams
impl UnwindSafe for GraphRetentionSetParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more