pub enum SourceTargetBinding {
ViewedThread,
NamedThread {
scope: CollaborationScope,
},
PinnedRevision {
scope: CollaborationScope,
revision: CollaborationRevision,
},
}Variants§
Implementations§
Source§impl SourceTargetBinding
impl SourceTargetBinding
Sourcepub fn scope<'a>(
&'a self,
viewed_thread: &'a CollaborationScope,
) -> Result<&'a CollaborationScope, SourceTargetError>
pub fn scope<'a>( &'a self, viewed_thread: &'a CollaborationScope, ) -> Result<&'a CollaborationScope, SourceTargetError>
Selects identity only. The caller must authorize source access, verify inheritance, and choose a revision/frontier in the returned Thread.
Trait Implementations§
Source§impl Clone for SourceTargetBinding
impl Clone for SourceTargetBinding
Source§impl Debug for SourceTargetBinding
impl Debug for SourceTargetBinding
Source§impl<'de> Deserialize<'de> for SourceTargetBinding
impl<'de> Deserialize<'de> for SourceTargetBinding
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
impl Eq for SourceTargetBinding
Source§impl PartialEq for SourceTargetBinding
impl PartialEq for SourceTargetBinding
Source§impl Serialize for SourceTargetBinding
impl Serialize for SourceTargetBinding
impl StructuralPartialEq for SourceTargetBinding
Auto Trait Implementations§
impl Freeze for SourceTargetBinding
impl RefUnwindSafe for SourceTargetBinding
impl Send for SourceTargetBinding
impl Sync for SourceTargetBinding
impl Unpin for SourceTargetBinding
impl UnsafeUnpin for SourceTargetBinding
impl UnwindSafe for SourceTargetBinding
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