pub struct VariableCollectionUpdate {
pub action: Action,
pub id: String,
pub name: Option<String>,
pub hidden_from_publishing: Option<bool>,
}
Expand description
VariableCollectionUpdate : An object that contains details about updating a VariableCollection
.
Fields§
§action: Action
The action to perform for the variable collection.
id: String
The id of the variable collection to update.
name: Option<String>
The name of this variable collection.
Whether this variable collection is hidden when publishing the current file as a library.
Implementations§
Source§impl VariableCollectionUpdate
impl VariableCollectionUpdate
Sourcepub fn new(action: Action, id: String) -> VariableCollectionUpdate
pub fn new(action: Action, id: String) -> VariableCollectionUpdate
An object that contains details about updating a VariableCollection
.
Trait Implementations§
Source§impl Clone for VariableCollectionUpdate
impl Clone for VariableCollectionUpdate
Source§fn clone(&self) -> VariableCollectionUpdate
fn clone(&self) -> VariableCollectionUpdate
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 VariableCollectionUpdate
impl Debug for VariableCollectionUpdate
Source§impl Default for VariableCollectionUpdate
impl Default for VariableCollectionUpdate
Source§fn default() -> VariableCollectionUpdate
fn default() -> VariableCollectionUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VariableCollectionUpdate
impl<'de> Deserialize<'de> for VariableCollectionUpdate
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 PartialEq for VariableCollectionUpdate
impl PartialEq for VariableCollectionUpdate
Source§impl Serialize for VariableCollectionUpdate
impl Serialize for VariableCollectionUpdate
impl StructuralPartialEq for VariableCollectionUpdate
Auto Trait Implementations§
impl Freeze for VariableCollectionUpdate
impl RefUnwindSafe for VariableCollectionUpdate
impl Send for VariableCollectionUpdate
impl Sync for VariableCollectionUpdate
impl Unpin for VariableCollectionUpdate
impl UnwindSafe for VariableCollectionUpdate
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