pub struct BehaviorEntity {
pub id: Option<i64>,
pub path: Option<String>,
pub attachment_url: Option<String>,
pub behavior: Option<String>,
pub description: Option<String>,
pub name: Option<String>,
pub value: Option<Value>,
pub disable_parent_folder_behavior: Option<bool>,
pub recursive: Option<bool>,
}
Expand description
A Behavior entity
Fields§
§id: Option<i64>
Behavior ID
path: Option<String>
Folder path where behavior applies
attachment_url: Option<String>
URL for attached file (if applicable)
behavior: Option<String>
Behavior type (e.g., webhook, auto_encrypt, file_expiration)
description: Option<String>
Description of this behavior
name: Option<String>
Name of the behavior
value: Option<Value>
Behavior configuration value (hash/object)
disable_parent_folder_behavior: Option<bool>
Disable parent folder behavior
recursive: Option<bool>
Apply recursively to subfolders
Trait Implementations§
Source§impl Clone for BehaviorEntity
impl Clone for BehaviorEntity
Source§fn clone(&self) -> BehaviorEntity
fn clone(&self) -> BehaviorEntity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BehaviorEntity
impl Debug for BehaviorEntity
Source§impl<'de> Deserialize<'de> for BehaviorEntity
impl<'de> Deserialize<'de> for BehaviorEntity
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
Auto Trait Implementations§
impl Freeze for BehaviorEntity
impl RefUnwindSafe for BehaviorEntity
impl Send for BehaviorEntity
impl Sync for BehaviorEntity
impl Unpin for BehaviorEntity
impl UnwindSafe for BehaviorEntity
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