pub struct NativeTriggerConnection {
pub path: String,
pub owner: Option<Option<String>>,
pub workspace: bool,
pub scopes: Option<Option<Vec<String>>>,
pub missing_scopes: Option<Option<Vec<String>>>,
}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
scopes: Option<Option<Vec<String>>>Scopes the account was connected with; absent when unknown
missing_scopes: Option<Option<Vec<String>>>Scopes the service’s triggers need that the account lacks; absent when unknown
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 Forget for NativeTriggerConnection
impl Freeze for NativeTriggerConnection
impl Move for NativeTriggerConnection
impl RefUnwindSafe for NativeTriggerConnection
impl Send for NativeTriggerConnectionwhere
RawVecInner: Send,
impl Sync for NativeTriggerConnectionwhere
RawVecInner: Sync,
impl Unpin for NativeTriggerConnection
impl UnsafeUnpin for NativeTriggerConnectionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for NativeTriggerConnectionwhere
RawVecInner: UnwindSafe,
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