pub struct CollaborationManager { /* private fields */ }Expand description
Collaboration system for debugging reports and analysis
Implementations§
Source§impl CollaborationManager
impl CollaborationManager
Share a debugging report
Sourcepub fn get_report(&mut self, report_id: Uuid) -> Option<&mut SharedReport>
pub fn get_report(&mut self, report_id: Uuid) -> Option<&mut SharedReport>
Get a shared report
Sourcepub fn start_annotation_session(
&mut self,
report_id: Uuid,
creator: Uuid,
participants: Vec<Uuid>,
session_type: AnnotationType,
) -> Result<Uuid>
pub fn start_annotation_session( &mut self, report_id: Uuid, creator: Uuid, participants: Vec<Uuid>, session_type: AnnotationType, ) -> Result<Uuid>
Start an annotation session
Sourcepub fn add_annotation(
&mut self,
session_id: Uuid,
author: Uuid,
annotation_type: AnnotationType,
target: AnnotationTarget,
content: String,
importance: ImportanceLevel,
) -> Result<Uuid>
pub fn add_annotation( &mut self, session_id: Uuid, author: Uuid, annotation_type: AnnotationType, target: AnnotationTarget, content: String, importance: ImportanceLevel, ) -> Result<Uuid>
Add an annotation to a session
Sourcepub fn create_comment_thread(
&mut self,
report_id: Uuid,
subject: String,
creator: Uuid,
tags: Vec<String>,
) -> Result<Uuid>
pub fn create_comment_thread( &mut self, report_id: Uuid, subject: String, creator: Uuid, tags: Vec<String>, ) -> Result<Uuid>
Create a comment thread
Sourcepub fn add_comment(
&mut self,
thread_id: Uuid,
author: Uuid,
content: String,
parent_id: Option<Uuid>,
) -> Result<Uuid>
pub fn add_comment( &mut self, thread_id: Uuid, author: Uuid, content: String, parent_id: Option<Uuid>, ) -> Result<Uuid>
Add a comment to a thread
Sourcepub fn add_team_member(&mut self, member: TeamMember) -> Uuid
pub fn add_team_member(&mut self, member: TeamMember) -> Uuid
Add a team member
Sourcepub fn update_sharing_status(
&mut self,
report_id: Uuid,
status: SharingStatus,
) -> Result<()>
pub fn update_sharing_status( &mut self, report_id: Uuid, status: SharingStatus, ) -> Result<()>
Update report sharing status
Sourcepub fn get_user_reports(&self, user_id: Uuid) -> Vec<&SharedReport>
pub fn get_user_reports(&self, user_id: Uuid) -> Vec<&SharedReport>
Get reports accessible to a user
Sourcepub fn get_report_annotations(&self, report_id: Uuid) -> Vec<&Annotation>
pub fn get_report_annotations(&self, report_id: Uuid) -> Vec<&Annotation>
Get annotations for a report
Sourcepub fn get_report_threads(&self, report_id: Uuid) -> Vec<&CommentThread>
pub fn get_report_threads(&self, report_id: Uuid) -> Vec<&CommentThread>
Get comment threads for a report
Sourcepub fn export_collaboration_data(&self) -> Result<String>
pub fn export_collaboration_data(&self) -> Result<String>
Export collaboration data
Sourcepub fn get_collaboration_stats(&self) -> CollaborationStats
pub fn get_collaboration_stats(&self) -> CollaborationStats
Generate collaboration statistics
Trait Implementations§
Source§impl Clone for CollaborationManager
impl Clone for CollaborationManager
Source§fn clone(&self) -> CollaborationManager
fn clone(&self) -> CollaborationManager
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 CollaborationManager
impl Debug for CollaborationManager
Auto Trait Implementations§
impl Freeze for CollaborationManager
impl RefUnwindSafe for CollaborationManager
impl Send for CollaborationManager
impl Sync for CollaborationManager
impl Unpin for CollaborationManager
impl UnsafeUnpin for CollaborationManager
impl UnwindSafe for CollaborationManager
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.