Require that PartialEq
is implemented for Action
This commit is contained in:
parent
eae7c2267c
commit
3a69943df3
19 changed files with 58 additions and 49 deletions
|
@ -73,7 +73,7 @@ type FollowableItemBuilders = HashMap<
|
|||
),
|
||||
>;
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, PartialEq)]
|
||||
pub struct RemoveFolderFromProject(pub WorktreeId);
|
||||
|
||||
actions!(
|
||||
|
@ -94,21 +94,21 @@ actions!(
|
|||
]
|
||||
);
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, PartialEq)]
|
||||
pub struct OpenPaths {
|
||||
pub paths: Vec<PathBuf>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize)]
|
||||
#[derive(Clone, Deserialize, PartialEq)]
|
||||
pub struct ToggleProjectOnline {
|
||||
#[serde(skip_deserializing)]
|
||||
pub project: Option<ModelHandle<Project>>,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, PartialEq)]
|
||||
pub struct ToggleFollow(pub PeerId);
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, PartialEq)]
|
||||
pub struct JoinProject {
|
||||
pub contact: Arc<Contact>,
|
||||
pub project_index: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue