pub struct NativeTriggerConnection {
pub path: String,
pub owner: Option<Option<String>>,
pub workspace: bool,
}Expand description
NativeTriggerConnection : An account connected for native triggers, stored as an OAuth resource
Fields§
§path: StringPath of the resource and variable holding the connection
owner: Option<Option<String>>Username of whoever connected the account, when the caller can read its resource
workspace: boolWhether this is the workspace connection, which every member may use
Implementations§
Source§impl NativeTriggerConnection
impl NativeTriggerConnection
Sourcepub fn new(path: String, workspace: bool) -> NativeTriggerConnection
pub fn new(path: String, workspace: bool) -> NativeTriggerConnection
An account connected for native triggers, stored as an OAuth resource
Trait Implementations§
Source§impl Clone for NativeTriggerConnection
impl Clone for NativeTriggerConnection
Source§impl Debug for NativeTriggerConnection
impl Debug for NativeTriggerConnection
Source§impl Default for NativeTriggerConnection
impl Default for NativeTriggerConnection
Source§impl<'de> Deserialize<'de> for NativeTriggerConnection
impl<'de> Deserialize<'de> for NativeTriggerConnection
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 NativeTriggerConnection
impl PartialEq for NativeTriggerConnection
Source§impl Serialize for NativeTriggerConnection
impl Serialize for NativeTriggerConnection
impl StructuralPartialEq for NativeTriggerConnection
Auto Trait Implementations§
impl Freeze for NativeTriggerConnection
impl RefUnwindSafe for NativeTriggerConnection
impl Send for NativeTriggerConnection
impl Sync for NativeTriggerConnection
impl Unpin for NativeTriggerConnection
impl UnsafeUnpin for NativeTriggerConnection
impl UnwindSafe for NativeTriggerConnection
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