pub struct Entry {
pub subpath: Option<PathBuf>,
pub target_branch_url: Option<Url>,
pub description: String,
pub commit_message: Option<String>,
pub mode: Mode,
pub title: Option<String>,
pub owner: Option<String>,
pub labels: Option<Vec<String>>,
pub context: Value,
pub proposal_url: Option<Url>,
/* private fields */
}Fields§
§subpath: Option<PathBuf>§target_branch_url: Option<Url>§description: String§commit_message: Option<String>§mode: Mode§title: Option<String>§owner: Option<String>§labels: Option<Vec<String>>§context: Value§proposal_url: Option<Url>Implementations§
source§impl Entry
impl Entry
pub fn from_recipe( recipe: &Recipe, basepath: &Path, url: &Url, subpath: &Path, default_mode: Option<Mode>, ) -> Result<Self, Error>
pub fn status(&self) -> Status
pub fn working_tree(&self) -> Result<WorkingTree, BrzError>
pub fn target_branch(&self) -> Result<Box<dyn Branch>, BranchOpenError>
pub fn local_branch(&self) -> Result<Box<dyn Branch>, BranchOpenError>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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 Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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