Struct azure_devops_rust_api::artifacts::models::FeedUpdate
source · pub struct FeedUpdate {
pub allow_upstream_name_conflict: Option<bool>,
pub badges_enabled: Option<bool>,
pub default_view_id: Option<String>,
pub description: Option<String>,
pub hide_deleted_package_versions: Option<bool>,
pub id: Option<String>,
pub name: Option<String>,
pub upstream_enabled: Option<bool>,
pub upstream_sources: Vec<UpstreamSource>,
}
Expand description
Update a feed definition with these new values.
Fields§
§allow_upstream_name_conflict: Option<bool>
If set, the feed will allow upload of packages that exist on the upstream
badges_enabled: Option<bool>
If set, this feed supports generation of package badges.
default_view_id: Option<String>
The view that the feed administrator has indicated is the default experience for readers.
description: Option<String>
A description for the feed. Descriptions must not exceed 255 characters.
hide_deleted_package_versions: Option<bool>
If set, feed will hide all deleted/unpublished versions
id: Option<String>
A GUID that uniquely identifies this feed.
name: Option<String>
A name for the feed. feed names must follow these rules:
upstream_enabled: Option<bool>
If set, the feed can proxy packages from an upstream feed
upstream_sources: Vec<UpstreamSource>
A list of sources that this feed will fetch packages from. An empty list indicates that this feed will not search any additional sources for packages.
Implementations§
source§impl FeedUpdate
impl FeedUpdate
Trait Implementations§
source§impl Clone for FeedUpdate
impl Clone for FeedUpdate
source§fn clone(&self) -> FeedUpdate
fn clone(&self) -> FeedUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeedUpdate
impl Debug for FeedUpdate
source§impl Default for FeedUpdate
impl Default for FeedUpdate
source§fn default() -> FeedUpdate
fn default() -> FeedUpdate
source§impl<'de> Deserialize<'de> for FeedUpdate
impl<'de> Deserialize<'de> for FeedUpdate
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>,
source§impl PartialEq for FeedUpdate
impl PartialEq for FeedUpdate
source§fn eq(&self, other: &FeedUpdate) -> bool
fn eq(&self, other: &FeedUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.