pub enum Follows {
Fleet,
Workspaces {
names: BTreeSet<String>,
},
}Expand description
Which workspaces a channel follows (ariel ADR 0009; gonzalo ADR 0023).
Stored tagged: {"kind":"fleet"} or
{"kind":"workspaces","names":[…]} with at least one name.
Variants§
Fleet
Every workspace, including ones created later.
Workspaces
A non-empty set of workspace names, as prospero reports them. Build it
with Follows::workspaces, which rejects an empty set.
Implementations§
Source§impl Follows
impl Follows
Sourcepub fn workspaces<I, S>(names: I) -> Result<Self, EmptyFollowSet>
pub fn workspaces<I, S>(names: I) -> Result<Self, EmptyFollowSet>
Workspaces over a non-empty set of names.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Follows
impl<'de> Deserialize<'de> for Follows
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Follows
impl StructuralPartialEq for Follows
Auto Trait Implementations§
impl Freeze for Follows
impl RefUnwindSafe for Follows
impl Send for Follows
impl Sync for Follows
impl Unpin for Follows
impl UnsafeUnpin for Follows
impl UnwindSafe for Follows
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