pub struct SyncSource {
pub name: String,
pub linear_api_key: String,
pub projects: Option<Vec<String>>,
pub webhook_base_url: Option<String>,
pub sync_rules: Option<SyncRules>,
}
Fields§
§name: String
§linear_api_key: String
§projects: Option<Vec<String>>
§webhook_base_url: Option<String>
§sync_rules: Option<SyncRules>
Implementations§
Source§impl SyncSource
impl SyncSource
pub fn effective_sync_rules(&self, global_rules: &SyncRules) -> SyncRules
Trait Implementations§
Source§impl Clone for SyncSource
impl Clone for SyncSource
Source§fn clone(&self) -> SyncSource
fn clone(&self) -> SyncSource
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 SyncSource
impl Debug for SyncSource
Source§impl<'de> Deserialize<'de> for SyncSource
impl<'de> Deserialize<'de> for SyncSource
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
Auto Trait Implementations§
impl Freeze for SyncSource
impl RefUnwindSafe for SyncSource
impl Send for SyncSource
impl Sync for SyncSource
impl Unpin for SyncSource
impl UnwindSafe for SyncSource
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