pub struct ProjectInfoEntry {
pub name: String,
pub path: String,
}Expand description
Project metadata returned by the GetProjectInfo request.
Currently a thin wrapper over the DB row; only name and path are
surfaced because callers (e.g. the worker bash fallback) only need
the root path. Extend as needed.
Fields§
§name: String§path: StringTrait Implementations§
Source§impl Clone for ProjectInfoEntry
impl Clone for ProjectInfoEntry
Source§fn clone(&self) -> ProjectInfoEntry
fn clone(&self) -> ProjectInfoEntry
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 ProjectInfoEntry
impl Debug for ProjectInfoEntry
Source§impl<'de> Deserialize<'de> for ProjectInfoEntry
impl<'de> Deserialize<'de> for ProjectInfoEntry
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 ProjectInfoEntry
impl RefUnwindSafe for ProjectInfoEntry
impl Send for ProjectInfoEntry
impl Sync for ProjectInfoEntry
impl Unpin for ProjectInfoEntry
impl UnsafeUnpin for ProjectInfoEntry
impl UnwindSafe for ProjectInfoEntry
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