pub struct WebhookTeamEditedChangesPrivacy {
pub from: String,
}
Fields§
§from: String
The previous version of the team’s privacy if the action was edited
.
Implementations§
Source§impl WebhookTeamEditedChangesPrivacy
impl WebhookTeamEditedChangesPrivacy
pub fn new(from: String) -> WebhookTeamEditedChangesPrivacy
Trait Implementations§
Source§impl Clone for WebhookTeamEditedChangesPrivacy
impl Clone for WebhookTeamEditedChangesPrivacy
Source§fn clone(&self) -> WebhookTeamEditedChangesPrivacy
fn clone(&self) -> WebhookTeamEditedChangesPrivacy
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 Default for WebhookTeamEditedChangesPrivacy
impl Default for WebhookTeamEditedChangesPrivacy
Source§fn default() -> WebhookTeamEditedChangesPrivacy
fn default() -> WebhookTeamEditedChangesPrivacy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookTeamEditedChangesPrivacy
impl<'de> Deserialize<'de> for WebhookTeamEditedChangesPrivacy
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 WebhookTeamEditedChangesPrivacy
impl PartialEq for WebhookTeamEditedChangesPrivacy
Source§fn eq(&self, other: &WebhookTeamEditedChangesPrivacy) -> bool
fn eq(&self, other: &WebhookTeamEditedChangesPrivacy) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookTeamEditedChangesPrivacy
Auto Trait Implementations§
impl Freeze for WebhookTeamEditedChangesPrivacy
impl RefUnwindSafe for WebhookTeamEditedChangesPrivacy
impl Send for WebhookTeamEditedChangesPrivacy
impl Sync for WebhookTeamEditedChangesPrivacy
impl Unpin for WebhookTeamEditedChangesPrivacy
impl UnwindSafe for WebhookTeamEditedChangesPrivacy
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