pub struct DeveloperDiskImageRepository {
pub path_urls: HashMap<String, String>,
}
Fields§
§path_urls: HashMap<String, String>
Implementations§
Source§impl DeveloperDiskImageRepository
impl DeveloperDiskImageRepository
pub fn new() -> Result<DeveloperDiskImageRepository, Error>
pub fn downloaddmg(url: String) -> Result<GitHubBlob, Error>
pub fn get_developer_disk_image( self: &DeveloperDiskImageRepository, version: String, ) -> Option<DeveloperDiskImage>
pub fn get_personalized_disk_image( self: &DeveloperDiskImageRepository, ) -> PersonalizedImage
pub fn get_blob( self: &DeveloperDiskImageRepository, path: String, ) -> Option<Vec<u8>>
Trait Implementations§
Source§impl Clone for DeveloperDiskImageRepository
impl Clone for DeveloperDiskImageRepository
Source§fn clone(&self) -> DeveloperDiskImageRepository
fn clone(&self) -> DeveloperDiskImageRepository
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for DeveloperDiskImageRepository
impl RefUnwindSafe for DeveloperDiskImageRepository
impl Send for DeveloperDiskImageRepository
impl Sync for DeveloperDiskImageRepository
impl Unpin for DeveloperDiskImageRepository
impl UnwindSafe for DeveloperDiskImageRepository
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