pub struct NativeTriggerConnection {
pub path: String,
pub owner: Option<Option<String>>,
pub workspace: bool,
pub managed: 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
managed: boolWhether the integration trigger connect flow made it. Any other connection is a resource connected from Resources, which triggers can use but only Resources can replace or delete.
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§
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 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