pub struct PreviewDiff(/* private fields */);Expand description
A diff generated to show actual diff between two branches.
This diff will be used primarily for branch merge proposals where we are trying to determine the effective changes of landing the source branch on the target branch.
Implementations§
Source§impl PreviewDiff
impl PreviewDiff
Sourcepub fn get<'a>(&self, client: &'a dyn Client) -> Result<PreviewDiffFull, Error>
pub fn get<'a>(&self, client: &'a dyn Client) -> Result<PreviewDiffFull, Error>
Retrieve the resource.
§Returns
Returns PreviewDiffFull on success, or an error if the request fails.
Sourcepub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
pub fn get_wadl<'a>(&self, client: &'a dyn Client) -> Result<Resource, Error>
Retrieve the WADL description for this resource.
This method fetches the WADL (Web Application Description Language) specification for the current resource, allowing for runtime API discovery.
§Returns
Returns the wadl::ast::Resource definition on success, or an error if the request fails.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreviewDiff
impl RefUnwindSafe for PreviewDiff
impl Send for PreviewDiff
impl Sync for PreviewDiff
impl Unpin for PreviewDiff
impl UnwindSafe for PreviewDiff
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